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

Made changes after testing previous commit.

init.lua:
- Added `nether.bottom`

portal.lua:
- Reverted `nether.is_player_in_nether(player)` to previous state.
- Added `nether.is_player_trapped_in_nether(player)`
- Added 2 new chat functions for debugging purposes.
- Tested that chat function `/update_hells_registry` indeed works to check if a player has dug their way out of the nether.
- Moved the functional code from `/update_hells_registry` to `nether.registry_update(player)`
- Fixed some English grammar in automated chat messages.
This commit is contained in:
Deathwing777
2024-02-27 17:49:30 -08:00
committed by GitHub
parent 2951813d2c
commit 84d5e1ce3c
2 changed files with 59 additions and 10 deletions

View File

@ -52,6 +52,9 @@ nether.start = f_h_max+100
-- Height of the nether (bottom of the nether is nether_middle - NETHER_HEIGHT)
local NETHER_HEIGHT = 30
-- bottom height of the nether.
nether.bottom = nether_middle - NETHER_HEIGHT
-- Maximum amount of randomness in the map generation
local NETHER_RANDOM = 2