mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
It actually is tested
This commit is contained in:
parent
4da38a6f9c
commit
c69c4dd2e1
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue