mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-12-11 08:23:19 +01: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
|
if not nodeid then
|
||||||
return false, "Error: Unknown node name '"..part.."' at position "..tostring(i).." in node list."
|
return false, "Error: Unknown node name '"..part.."' at position "..tostring(i).." in node list."
|
||||||
end
|
end
|
||||||
table.insert(nodelist, part)
|
table.insert(nodelist, nodeid)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user