mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-30 06:43:45 +01:00
Fix Nether portal not teleporting players anymore
parent
801e6fb1c4
commit
f68e835087
@ -404,7 +404,7 @@ minetest.register_abm({
|
||||
end
|
||||
-- teleport the object
|
||||
minetest.after(3, function(obj, pos, target)
|
||||
if not obj:get_luaentity() then
|
||||
if (not obj:get_luaentity()) and (not obj:is_player()) then
|
||||
return
|
||||
end
|
||||
-- Prevent quick back-and-forth teleportation
|
||||
|
Loading…
Reference in New Issue
Block a user