mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-04 11:13:45 +01:00 
			
		
		
		
	Use world min/max heights if present in QueueCoordinator
This commit is contained in:
		@@ -79,7 +79,10 @@ public abstract class QueueCoordinator {
 | 
			
		||||
     */
 | 
			
		||||
    @Deprecated(forRemoval = true, since = "TODO")
 | 
			
		||||
    public ScopedQueueCoordinator getForChunk(int x, int z) {
 | 
			
		||||
        return getForChunk(x, z, 0, 255);
 | 
			
		||||
        if (getWorld() == null) {
 | 
			
		||||
            return getForChunk(x, z, 0, 255);
 | 
			
		||||
        }
 | 
			
		||||
        return getForChunk(x, z, getWorld().getMinY(), getWorld().getMaxY());
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user