From 6c30874736e282c7bc0b304d109132853a39756d Mon Sep 17 00:00:00 2001 From: Deathwing777 <160651137+Deathwing777@users.noreply.github.com> Date: Tue, 27 Feb 2024 18:30:40 -0800 Subject: [PATCH] Fixed broken elseif - Lua is weird. --- nether/portal.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nether/portal.lua b/nether/portal.lua index cda5daf..186c3f8 100644 --- a/nether/portal.lua +++ b/nether/portal.lua @@ -76,7 +76,7 @@ function nether.registry_update(player) if nether.trap_players then players_trapped_in_nether[pname] = in_nether update_background(player, in_nether) - else if players_trapped_in_nether[pname] + elseif players_trapped_in_nether[pname] then players_trapped_in_nether[pname] = nil update_background(player, false) end