Fix fuckups from previous commit

This commit is contained in:
Nassim Jahnke
2021-11-25 12:08:44 +01:00
parent a39e11bdf3
commit c5998f2bb7
3 changed files with 39 additions and 12 deletions

View File

@@ -60,11 +60,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
void updateMaps(ServerPlayer player) {
@@ -0,0 +0,0 @@ public class ChunkMap extends ChunkStorage implements ChunkHolder.PlayerProvider
trackMap.update(player, chunkX, chunkZ, Math.min(trackRange, this.getEffectiveViewDistance()));
}
- // Paper end - use distance map to optimise entity tracker
+ // Paper end - use distance map to optimise entity trackerD
// Paper end - use distance map to optimise entity tracker
this.playerChunkTickRangeMap.update(player, chunkX, chunkZ, DistanceManager.MOB_SPAWN_RANGE); // Paper - optimise PlayerChunkMap#isOutsideRange
+ this.playerGeneralAreaMap.update(player, chunkX, chunkZ, GENERAL_AREA_MAP_SQUARE_RADIUS); // Paper - optimise checkDespawn
}