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:
parent
59dc2d34d9
commit
4605596215
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user