mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-04 03:03:43 +01:00 
			
		
		
		
	fix: ensure all setBlock methods in BlockArrayCacheScopedQueueCoordinator apply the correct offset
- Fixes #3783
This commit is contained in:
		@@ -116,7 +116,7 @@ public class BlockArrayCacheScopedQueueCoordinator extends ScopedQueueCoordinato
 | 
			
		||||
        x += offsetX;
 | 
			
		||||
        z += offsetZ;
 | 
			
		||||
        if (x >= scopeMinX && x < scopeMaxX && y >= minY && y <= maxY && z >= scopeMinZ && z < scopeMaxZ) {
 | 
			
		||||
            blockStates[y - minY][x][z] = id.toImmutableState();
 | 
			
		||||
            blockStates[y - minY][x - scopeMinX][z - scopeMinZ] = id.toImmutableState();
 | 
			
		||||
        }
 | 
			
		||||
        return false;
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user