This commit is contained in:
Jesse Boyd
2016-06-18 13:13:36 +10:00
parent 232091454a
commit 91c742c141
4 changed files with 11 additions and 3 deletions

View File

@ -1318,6 +1318,10 @@ public class PlayerEvents extends PlotListener implements Listener {
return;
}
if (checkEntity(entity, plot)) {
PlotPlayer owner = UUIDHandler.getPlayer(plot.owner);
if (owner != null) {
C.ENTITY_CAP.send(owner);
}
event.setCancelled(true);
}
}