//nodeapply: fix crash on unknown node name

oops, we normalised the node name but then passed the un-normalised node name to NodeListMatcher >_<
This commit is contained in:
Starbeamrainbowlabs 2023-12-15 03:11:40 +00:00
parent 45f4261c04
commit e6bf2a10ee
No known key found for this signature in database
GPG Key ID: 1BE5172E637709C2

@ -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