mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-04 03:03:43 +01:00 
			
		
		
		
	Fixed regenallroads creating new chunks
This commit is contained in:
		@@ -263,7 +263,7 @@ import com.intellectualcrafters.plot.util.SendChunk;
 | 
			
		||||
        }
 | 
			
		||||
        
 | 
			
		||||
        for (Chunk chunk : world.getLoadedChunks()) {
 | 
			
		||||
            ChunkLoc loc = new ChunkLoc(chunk.getX() >> 4, chunk.getZ() >> 4);
 | 
			
		||||
            ChunkLoc loc = new ChunkLoc(chunk.getX() >> 5, chunk.getZ() >> 5);
 | 
			
		||||
            if (!chunks.contains(loc)) {
 | 
			
		||||
                chunks.add(loc);
 | 
			
		||||
            }
 | 
			
		||||
 
 | 
			
		||||
@@ -192,7 +192,7 @@ public class SchematicHandler {
 | 
			
		||||
            return getSchematic(tag, file);
 | 
			
		||||
 | 
			
		||||
        } catch (final Exception e) {
 | 
			
		||||
            e.printStackTrace();
 | 
			
		||||
            PlotMain.sendConsoleSenderMessage(file.toString() + " is not in GZIP format");
 | 
			
		||||
            return null;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user