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) { if (area != null) {
Plot plot = area.getOwnedPlot(location); Plot plot = area.getOwnedPlot(location);
if (plot != null && plot.getFlag(MobPlaceFlag.class)) { if (plot != null && plot.getFlag(MobPlaceFlag.class)) {
System.out.println("bb");
return; return;
} }
if (plot != null) { if (plot != null) {
plot.debug(e.getType() + " could not change block because mob-place = false"); plot.debug(e.getType() + " could not change block because mob-place = false");
} }
System.out.println("aa");
event.setCancelled(true); event.setCancelled(true);
} }
} }

View File

@ -933,7 +933,6 @@ public class PlayerEventListener extends PlotListener implements Listener {
case PHYSICAL: { case PHYSICAL: {
eventType = PlayerBlockEventType.TRIGGER_PHYSICAL; eventType = PlayerBlockEventType.TRIGGER_PHYSICAL;
blocktype1 = BukkitAdapter.asBlockType(block.getType()); blocktype1 = BukkitAdapter.asBlockType(block.getType());
System.out.println("cc");
break; break;
} }
//todo rearrange the right click code. it is all over the place. //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() if (!PlotSquared.get().getEventDispatcher()
.checkPlayerBlockEvent(pp, eventType, location, blocktype1, true)) { .checkPlayerBlockEvent(pp, eventType, location, blocktype1, true)) {
System.out.println("dd");
event.setCancelled(true); event.setCancelled(true);
event.setUseInteractedBlock(Event.Result.DENY); event.setUseInteractedBlock(Event.Result.DENY);
} }