1
0
Fork 0

Fix Nether portal not teleporting players anymore

This commit is contained in:
Wuzzy 2018-06-15 18:26:59 +02:00
parent 801e6fb1c4
commit f68e835087
1 changed files with 1 additions and 1 deletions

View File

@ -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