mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-03 15:08:18 +01:00
Update EssentialsAntiBuild/src/com/earth2me/essentials/antibuild/EssentialsAntiBuildListener.java
This commit is contained in:
parent
c357d19c56
commit
7c480e88d6
@ -36,6 +36,10 @@ public class EssentialsAntiBuildListener implements Listener
|
||||
{
|
||||
if (block == null)
|
||||
{
|
||||
if (ess.getSettings().isDebug())
|
||||
{
|
||||
ess.getLogger().log(Level.INFO, "AntiBuild permission check failed, invalid block.");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
return metaPermCheck(user, action, block.getTypeId(), block.getData());
|
||||
|
Loading…
Reference in New Issue
Block a user