mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 22:56:45 +01:00
Remove left over debugs
This commit is contained in:
parent
e5963a8590
commit
4996d8bcd1
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user