forked from xjboss/KCauldronX
Check for active chunks before persistent, could be faster on big maps
This commit is contained in:
parent
98f4f02f55
commit
0097a0744a
@ -1464,7 +1464,7 @@
|
||||
+
|
||||
+ public boolean isActiveChunk(int x, int z)
|
||||
+ {
|
||||
+ return getPersistentChunks().containsKey(new ChunkCoordIntPair(x, z)) || activeChunkSet_CB.containsKey(chunkToKey(x, z));
|
||||
+ return activeChunkSet_CB.containsKey(chunkToKey(x, z)) || getPersistentChunks().containsKey(new ChunkCoordIntPair(x, z));
|
||||
+ }
|
||||
+
|
||||
+ public boolean isActiveChunk(long key)
|
||||
|
Loading…
Reference in New Issue
Block a user