mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-22 23:42:59 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue