From 577c9dabf3c2d6bd423486717fb176334cba3cf5 Mon Sep 17 00:00:00 2001 From: boy0001 Date: Sat, 14 Feb 2015 15:37:57 +1100 Subject: [PATCH] Fixed regenallroads creating new chunks --- .../intellectualcrafters/plot/generator/HybridPlotManager.java | 2 +- .../com/intellectualcrafters/plot/util/SchematicHandler.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/generator/HybridPlotManager.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/generator/HybridPlotManager.java index e55ac02fa..af83e3d45 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/generator/HybridPlotManager.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/generator/HybridPlotManager.java @@ -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); } diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/SchematicHandler.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/SchematicHandler.java index 168ec56b3..6760defe4 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/SchematicHandler.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/SchematicHandler.java @@ -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; } }