mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Further refactors to prepare for y=-64 lower limit
This commit is contained in:
@ -867,6 +867,7 @@ This version features substantial changes to the network system, improving coher
|
||||
- `World->populateChunk()` has been split into `World->requestChunkPopulation()` and `World->orderChunkPopulation()`.
|
||||
- The following API methods have changed behaviour:
|
||||
- `World->getChunk()` no longer tries to load chunks from disk. If the chunk is not already in memory, null is returned. (This behaviour now properly matches other `ChunkManager` implementations.)
|
||||
- `World->getHighestBlockAt()` now returns `null` instead of `-1` if the target X/Z column contains no blocks.
|
||||
- The following methods now throw `WorldException` when targeting ungenerated terrain:
|
||||
- `World->getSafeSpawn()` (previously it just silently returned the input position)
|
||||
- `World->getHighestBlockAt()` (previously it returned -1)
|
||||
|
Reference in New Issue
Block a user