forked from minetest-mods/warps
Fix crash
This commit is contained in:
parent
81c3bd5bd9
commit
ef553e8edf
2
init.lua
2
init.lua
@ -140,7 +140,7 @@ local warp_queue_add = function(player, dest)
|
|||||||
end
|
end
|
||||||
-- force mapblock send to player, if supported
|
-- force mapblock send to player, if supported
|
||||||
if player.send_mapblock then
|
if player.send_mapblock then
|
||||||
player:send_mapblock(vector.divide(dest, 16))
|
player:send_mapblock(vector.divide(pos, 16))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user