mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
Remove left over debugs
This commit is contained in:
parent
e5963a8590
commit
4996d8bcd1
2 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue