mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-29 18:33:01 +00:00
//nodeapply: fix @groups support
This commit is contained in:
parent
78844484f8
commit
490db59843
1 changed files with 3 additions and 0 deletions
|
@ -55,6 +55,9 @@ worldeditadditions_core.register_command("nodeapply", {
|
||||||
for i,part in ipairs(parts) do
|
for i,part in ipairs(parts) do
|
||||||
if part == "airlike" or part == "liquidlike" then
|
if part == "airlike" or part == "liquidlike" then
|
||||||
table.insert(nodelist, part)
|
table.insert(nodelist, part)
|
||||||
|
elseif part:sub(1, 1) == "@" then
|
||||||
|
-- Groups start with an @
|
||||||
|
table.insert(nodelist, part)
|
||||||
else
|
else
|
||||||
local nodeid = worldedit.normalize_nodename(part)
|
local nodeid = worldedit.normalize_nodename(part)
|
||||||
if not nodeid then
|
if not nodeid then
|
||||||
|
|
Loading…
Reference in a new issue