Skip to content

Commit

Permalink
//nodeapply: fix crash on unknown node name
Browse files Browse the repository at this point in the history
oops, we normalised the node name but then passed the un-normalised node name to NodeListMatcher >_<
  • Loading branch information
sbrl committed Dec 15, 2023
1 parent 45f4261 commit e6bf2a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worldeditadditions_commands/commands/meta/nodeapply.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ worldeditadditions_core.register_command("nodeapply", {
if not nodeid then
return false, "Error: Unknown node name '"..part.."' at position "..tostring(i).." in node list."
end
table.insert(nodelist, part)
table.insert(nodelist, nodeid)
end
end

Expand Down

0 comments on commit e6bf2a1

Please sign in to comment.