From 6c096b852875abe037314dd08f4d182c465c7a71 Mon Sep 17 00:00:00 2001 From: boy0001 Date: Sun, 12 Apr 2015 15:48:32 +1000 Subject: [PATCH] Console notifications --- .../plot/listeners/worldedit/ProcessedWEExtent.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/listeners/worldedit/ProcessedWEExtent.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/listeners/worldedit/ProcessedWEExtent.java index 0c7087a68..fc23006c6 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/listeners/worldedit/ProcessedWEExtent.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/listeners/worldedit/ProcessedWEExtent.java @@ -2,6 +2,7 @@ package com.intellectualcrafters.plot.listeners.worldedit; import java.util.HashSet; +import com.intellectualcrafters.plot.PlotSquared; import com.intellectualcrafters.plot.config.Settings; import com.intellectualcrafters.plot.object.RegionWrapper; import com.sk89q.worldedit.Vector; @@ -71,6 +72,7 @@ public class ProcessedWEExtent extends AbstractDelegateExtent { BScount++; if (BScount > Settings.CHUNK_PROCESSOR_MAX_BLOCKSTATES) { BSblocked = true; + PlotSquared.log("&cPlotSquared detected unsafe WorldEdit: " + (location.getBlockX()) + "," + (location.getBlockZ())); } } } @@ -88,6 +90,7 @@ public class ProcessedWEExtent extends AbstractDelegateExtent { Ecount++; if (Ecount > Settings.CHUNK_PROCESSOR_MAX_ENTITIES) { Eblocked = true; + PlotSquared.log("&cPlotSquared detected unsafe WorldEdit: " + (location.getBlockX()) + "," + (location.getBlockZ())); } if (WEListener.maskContains(mask, location.getBlockX(), location.getBlockZ())) { return super.createEntity(location, entity);