forked from xjboss/KCauldronX
		
	Check for active chunks before persistent, could be faster on big maps
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user