1
0
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:
snowleo
2012-10-03 18:18:10 +02:00
parent 4a1e26697e
commit a43207d395
2 changed files with 5 additions and 3 deletions

View File

@@ -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

View File

@@ -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
}
}
}
*/
}