Opaque blocks at the top of subchunks (chunk sections) do not increase the world height to the next subchunk
How to reproduce
- Create a new superflat world with void preset
- Make it night time by running this: /time set midnight
- Fill a layer of stone at layer 63: /fill ~ 63 ~ ~20 63 ~20 stone
→
No hostile mobs are spawning - Fill a layer of stone at any other layer: /fill ~ 30 ~ ~20 30 ~20 stone
→
Mobs are spawning correctly on this layer
Note: This bug was introduced in 18w19a