mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-29 22:33:46 +01:00
Fix End portal platform sometimes not spawning
parent
768c97205a
commit
aa8507f94a
@ -248,11 +248,12 @@ minetest.register_abm({
|
|||||||
build_end_portal_destination(pos)
|
build_end_portal_destination(pos)
|
||||||
minetest.after(2, check_and_build_end_portal_destination, pos)
|
minetest.after(2, check_and_build_end_portal_destination, pos)
|
||||||
elseif not n then
|
elseif not n then
|
||||||
minetest.after(1, check_and_build_end_portal_destination, pos)
|
minetest.after(1, check_and_build_end_portal_destination, pos)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local platform
|
local platform
|
||||||
|
build_end_portal_destination(platform_pos)
|
||||||
check_and_build_end_portal_destination(platform_pos)
|
check_and_build_end_portal_destination(platform_pos)
|
||||||
|
|
||||||
target = table.copy(platform_pos)
|
target = table.copy(platform_pos)
|
||||||
|
Loading…
Reference in New Issue
Block a user