From f68e835087656f2e0abdd06e03984a2ed43e50d3 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 15 Jun 2018 18:26:59 +0200 Subject: [PATCH] Fix Nether portal not teleporting players anymore --- mods/ITEMS/mcl_portals/portal_nether.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_portals/portal_nether.lua b/mods/ITEMS/mcl_portals/portal_nether.lua index 1c1f677421..11da3b3ed8 100644 --- a/mods/ITEMS/mcl_portals/portal_nether.lua +++ b/mods/ITEMS/mcl_portals/portal_nether.lua @@ -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