Remove left over debugs

This commit is contained in:
N0tMyFaultOG 2020-07-15 14:05:15 +02:00
parent e5963a8590
commit 4996d8bcd1
2 changed files with 0 additions and 4 deletions

View file

@ -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);
}
}

View file

@ -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);
}