mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-09-12 08:08:30 +02:00
//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:
parent
45f4261c04
commit
e6bf2a10ee
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user