1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2024-11-13 22:20:19 +01:00

Fix assignment to undeclared global "sign" @ worldedit_commands/init.lua:791

This commit is contained in:
sfan5 2017-09-12 14:58:26 +02:00
parent 59dc2d34d9
commit 4605596215

View File

@ -788,6 +788,7 @@ minetest.register_chatcommand("/move", {
end
amount = tonumber(amount)
if axis == "?" then
local sign
axis, sign = worldedit.player_axis(name)
amount = amount * sign
end