It actually is tested

This commit is contained in:
manuelgu 2016-04-04 00:11:32 +02:00
parent 4da38a6f9c
commit c69c4dd2e1

View file

@ -616,7 +616,6 @@ public class PlayerEvents extends PlotListener implements Listener {
Plot plot = area.getPlotAbs(loc);
if (plot != null) {
PlotPlayer pp = BukkitUtil.getPlayer(player);
// TODO test
if (event.getBlock().getY() == 0) {
if (!Permissions.hasPermission(pp, C.PERMISSION_ADMIN_DESTROY_GROUNDLEVEL)) {
MainUtil.sendMessage(pp, C.NO_PERMISSION_EVENT, C.PERMISSION_ADMIN_DESTROY_GROUNDLEVEL);