mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-12 03:59:22 +00:00
Fixed regenallroads creating new chunks
This commit is contained in:
parent
632d63a640
commit
577c9dabf3
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue