mirror of
https://github.com/minetest-mods/warps.git
synced 2025-07-25 11:40:28 +02:00
Fix crash
This commit is contained in:
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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user