mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 05:06:44 +01:00
It actually is tested
This commit is contained in:
parent
4da38a6f9c
commit
c69c4dd2e1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user