mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-24 18:25:10 +00:00
Fix Nether portal not teleporting players anymore
This commit is contained in:
parent
801e6fb1c4
commit
f68e835087
1 changed files with 1 additions and 1 deletions
|
@ -404,7 +404,7 @@ minetest.register_abm({
|
||||||
end
|
end
|
||||||
-- teleport the object
|
-- teleport the object
|
||||||
minetest.after(3, function(obj, pos, target)
|
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
|
return
|
||||||
end
|
end
|
||||||
-- Prevent quick back-and-forth teleportation
|
-- Prevent quick back-and-forth teleportation
|
||||||
|
|
Loading…
Reference in a new issue