Skip to content

Commit

Permalink
//nodeapply: fix @groups support
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrl committed Nov 27, 2023
1 parent 7884448 commit 490db59
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions worldeditadditions_commands/commands/meta/nodeapply.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 490db59

Please sign in to comment.