From cf54fdc8c5a09d8813f4b8351492eb9ac43ba13a Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sat, 10 Mar 2018 01:42:29 +1100 Subject: [PATCH] Add debug --- .../com/boydti/fawe/jnbt/anvil/filters/PlotTrimFilter.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/src/main/java/com/boydti/fawe/jnbt/anvil/filters/PlotTrimFilter.java b/core/src/main/java/com/boydti/fawe/jnbt/anvil/filters/PlotTrimFilter.java index 9e4b5fca..57158f8e 100644 --- a/core/src/main/java/com/boydti/fawe/jnbt/anvil/filters/PlotTrimFilter.java +++ b/core/src/main/java/com/boydti/fawe/jnbt/anvil/filters/PlotTrimFilter.java @@ -41,6 +41,8 @@ public class PlotTrimFilter extends DeleteUninhabitedFilter { public PlotTrimFilter(World world, long fileDuration, long inhabitedTicks, long chunkInactivity) { super(fileDuration, inhabitedTicks, chunkInactivity); + Fawe.debug("Initializing Plot trim..."); + String worldName = Fawe.imp().getWorldName(world); PlotArea area = PS.get().getPlotAreaByString(worldName); IndependentPlotGenerator gen = area.getGenerator(); @@ -57,6 +59,7 @@ public class PlotTrimFilter extends DeleteUninhabitedFilter { this.reference = calculateReference(); + Fawe.debug(" - calculating claims"); this.calculateClaimedArea(); } @@ -114,6 +117,7 @@ public class PlotTrimFilter extends DeleteUninhabitedFilter { @Override public boolean shouldDelete(File file, BasicFileAttributes attr, int mcaX, int mcaZ) throws IOException { + Fawe.debug("Apply file: " + file); return !occupiedRegions.containsKey(mcaX, mcaZ) || super.shouldDelete(file, attr, mcaX, mcaZ); }