mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-10 08:34:17 +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
|
@Override
|
||||||
public boolean checkProtectionItems(final int id)
|
public boolean checkProtectionItems(final int id)
|
||||||
{
|
{
|
||||||
final List<Integer> itemList = settingsList.get(list);
|
//final List<Integer> itemList = settingsList.get(list);
|
||||||
return itemList != null && !itemList.isEmpty() && itemList.contains(id);
|
//return itemList != null && !itemList.isEmpty() && itemList.contains(id);
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@@ -33,7 +33,7 @@ public class EssentialsAntiBuildListener implements Listener
|
|||||||
this.ess = antib.getEssentialsConnect().getEssentials();
|
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)
|
if (block == null)
|
||||||
{
|
{
|
||||||
@@ -319,4 +319,5 @@ public class EssentialsAntiBuildListener implements Listener
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user