1
0
mirror of https://github.com/HybridDog/nether-pack.git synced 2025-07-16 23:01:16 +02:00

Fixed broken elseif

- Lua is weird.
This commit is contained in:
Deathwing777
2024-02-27 18:30:40 -08:00
committed by GitHub
parent 84d5e1ce3c
commit 6c30874736

View File

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