From aa8507f94afc187c3a519b07b7d0955c8ba6b2bb Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 22 Nov 2017 06:16:33 +0100 Subject: [PATCH] Fix End portal platform sometimes not spawning --- mods/ITEMS/mcl_portals/portal_end.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mods/ITEMS/mcl_portals/portal_end.lua b/mods/ITEMS/mcl_portals/portal_end.lua index cf3b1c59a2..95f938e889 100644 --- a/mods/ITEMS/mcl_portals/portal_end.lua +++ b/mods/ITEMS/mcl_portals/portal_end.lua @@ -248,11 +248,12 @@ minetest.register_abm({ build_end_portal_destination(pos) minetest.after(2, check_and_build_end_portal_destination, pos) elseif not n then - minetest.after(1, check_and_build_end_portal_destination, pos) - end + minetest.after(1, check_and_build_end_portal_destination, pos) + end end local platform + build_end_portal_destination(platform_pos) check_and_build_end_portal_destination(platform_pos) target = table.copy(platform_pos)