mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-09 08:06:54 +02:00
Comment AntiBuild until latest version is ported from 2.9
This commit is contained in:
@@ -33,8 +33,9 @@ public class EssentialsAntiBuild extends JavaPlugin implements IAntiBuild
|
||||
@Override
|
||||
public boolean checkProtectionItems(final int id)
|
||||
{
|
||||
final List<Integer> itemList = settingsList.get(list);
|
||||
return itemList != null && !itemList.isEmpty() && itemList.contains(id);
|
||||
//final List<Integer> itemList = settingsList.get(list);
|
||||
//return itemList != null && !itemList.isEmpty() && itemList.contains(id);
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@@ -33,7 +33,7 @@ public class EssentialsAntiBuildListener implements Listener
|
||||
this.ess = antib.getEssentialsConnect().getEssentials();
|
||||
}
|
||||
|
||||
private boolean metaPermCheck(final User user, final String action, final Block block)
|
||||
/* private boolean metaPermCheck(final User user, final String action, final Block block)
|
||||
{
|
||||
if (block == null)
|
||||
{
|
||||
@@ -319,4 +319,5 @@ public class EssentialsAntiBuildListener implements Listener
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
Reference in New Issue
Block a user