1
0
鏡像自 https://github.com/pyrollo/display_modpack.git 已同步 2025-11-05 08:25:32 +01:00

Fix pattern

此提交包含在:
luk3yx
2023-12-04 08:48:23 +13:00
父節點 7b87099f2c
當前提交 cdc3cf55f5

查看文件

@@ -54,7 +54,7 @@ local function show_node_formspec(playername, pos)
fs = fs:gsub("context", nodemeta)
-- Change all ${} to their corresponding metadata values
fs = fs:gsub("(.)${(.*)}", function(prefix, key)
fs = fs:gsub("(.)${(.-)}", function(prefix, key)
-- Don't alter escaped keys
if prefix == "\\" then
return prefix .. "${" .. key .. "}"