mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-04 23:47:59 +01:00
Fix missing chunk history update
This commit is contained in:
parent
27f3b5d4ee
commit
d37f40a1bb
@ -659,6 +659,7 @@ public class Player extends LivingEntity implements CommandSender, Localizable,
|
||||
final int chunkX = spawnPosition.chunkX();
|
||||
final int chunkZ = spawnPosition.chunkZ();
|
||||
chunksLoadedByClient = new Vec(chunkX, chunkZ);
|
||||
chunkUpdateLimitChecker.addToHistory(getChunk());
|
||||
sendPacket(new UpdateViewPositionPacket(chunkX, chunkZ));
|
||||
ChunkUtils.forChunksInRange(spawnPosition, MinecraftServer.getChunkViewDistance(), chunkAdder);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user