13
0
geforkt von Mirrors/Paper
Paper/patches
Spottedleaf f8ee0a06c5 Fix implementations of ChunkHolder#getChunkIfPresent
Implementations for ChunkStatuses below FULL are supposed to always
return ProtoChunk instances. However, since we used the last completed
status, it could return LevelChunk.

To resolve this, follow Vanilla behavior of tracking chunk
completions by status and replace old ProtoChunk statuses with
ImposterProtoChunk when the chunk generates to FULL.

Additionally, implement an optimisation for retrieving full chunks
by storing a map of pos -> LevelChunk. This requires only a simple
map lookup to occur for full chunks which are loaded.
2024-06-16 14:09:44 -07:00
..
api Registry Modification API (#10893) 2024-06-16 12:39:59 -07:00
removed Remove fully dropped patches 2024-06-16 13:14:53 +02:00
server Fix implementations of ChunkHolder#getChunkIfPresent 2024-06-16 14:09:44 -07:00
unapplied/server update 'improve mass craft perf' patch 2024-06-16 08:08:06 -07:00