mirror of
https://github.com/BG-Software-LLC/WildLoaders.git
synced 2025-03-13 13:40:45 +01:00
Fixed lacking of permission still letting players place the blocks
This commit is contained in:
parent
856215ab97
commit
8fa24f7cd9
@ -34,6 +34,7 @@ public final class BlocksListener implements Listener {
|
||||
return;
|
||||
|
||||
if(!e.getPlayer().hasPermission("wildloaders.use")) {
|
||||
e.setCancelled(true);
|
||||
Locale.NO_PLACE_PERMISSION.send(e.getPlayer());
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user