//nodeapply: fix @groups support

This commit is contained in:
Starbeamrainbowlabs 2023-11-27 23:48:30 +00:00
parent 78844484f8
commit 490db59843
No known key found for this signature in database
GPG Key ID: 1BE5172E637709C2

@ -55,6 +55,9 @@ worldeditadditions_core.register_command("nodeapply", {
for i,part in ipairs(parts) do
if part == "airlike" or part == "liquidlike" then
table.insert(nodelist, part)
elseif part:sub(1, 1) == "@" then
-- Groups start with an @
table.insert(nodelist, part)
else
local nodeid = worldedit.normalize_nodename(part)
if not nodeid then