From 4996d8bcd1cfa1982513d626c3ba2761d873fa65 Mon Sep 17 00:00:00 2001 From: N0tMyFaultOG Date: Wed, 15 Jul 2020 14:05:15 +0200 Subject: [PATCH] Remove left over debugs --- .../com/plotsquared/bukkit/listener/EntityEventListener.java | 2 -- .../com/plotsquared/bukkit/listener/PlayerEventListener.java | 2 -- 2 files changed, 4 deletions(-) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/listener/EntityEventListener.java b/Bukkit/src/main/java/com/plotsquared/bukkit/listener/EntityEventListener.java index 0363d42cf..5bfb26a56 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/listener/EntityEventListener.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/listener/EntityEventListener.java @@ -305,13 +305,11 @@ public class EntityEventListener implements Listener { if (area != null) { Plot plot = area.getOwnedPlot(location); if (plot != null && plot.getFlag(MobPlaceFlag.class)) { - System.out.println("bb"); return; } if (plot != null) { plot.debug(e.getType() + " could not change block because mob-place = false"); } - System.out.println("aa"); event.setCancelled(true); } } diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/listener/PlayerEventListener.java b/Bukkit/src/main/java/com/plotsquared/bukkit/listener/PlayerEventListener.java index e2bb3cb36..6d11cd75c 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/listener/PlayerEventListener.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/listener/PlayerEventListener.java @@ -933,7 +933,6 @@ public class PlayerEventListener extends PlotListener implements Listener { case PHYSICAL: { eventType = PlayerBlockEventType.TRIGGER_PHYSICAL; blocktype1 = BukkitAdapter.asBlockType(block.getType()); - System.out.println("cc"); break; } //todo rearrange the right click code. it is all over the place. @@ -1044,7 +1043,6 @@ public class PlayerEventListener extends PlotListener implements Listener { } if (!PlotSquared.get().getEventDispatcher() .checkPlayerBlockEvent(pp, eventType, location, blocktype1, true)) { - System.out.println("dd"); event.setCancelled(true); event.setUseInteractedBlock(Event.Result.DENY); }