From a43207d395aeeec8aa7780b625b4369d20db59ee Mon Sep 17 00:00:00 2001 From: snowleo Date: Wed, 3 Oct 2012 18:18:10 +0200 Subject: Comment AntiBuild until latest version is ported from 2.9 --- EssentialsAntiBuild/src/net/ess3/antibuild/EssentialsAntiBuild.java | 5 +++-- .../src/net/ess3/antibuild/EssentialsAntiBuildListener.java | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/EssentialsAntiBuild/src/net/ess3/antibuild/EssentialsAntiBuild.java b/EssentialsAntiBuild/src/net/ess3/antibuild/EssentialsAntiBuild.java index 50e3f56f2..85353b202 100644 --- a/EssentialsAntiBuild/src/net/ess3/antibuild/EssentialsAntiBuild.java +++ b/EssentialsAntiBuild/src/net/ess3/antibuild/EssentialsAntiBuild.java @@ -33,8 +33,9 @@ public class EssentialsAntiBuild extends JavaPlugin implements IAntiBuild @Override public boolean checkProtectionItems(final int id) { - final List itemList = settingsList.get(list); - return itemList != null && !itemList.isEmpty() && itemList.contains(id); + //final List itemList = settingsList.get(list); + //return itemList != null && !itemList.isEmpty() && itemList.contains(id); + return false; } @Override diff --git a/EssentialsAntiBuild/src/net/ess3/antibuild/EssentialsAntiBuildListener.java b/EssentialsAntiBuild/src/net/ess3/antibuild/EssentialsAntiBuildListener.java index 03bce34b6..2de39ffb5 100644 --- a/EssentialsAntiBuild/src/net/ess3/antibuild/EssentialsAntiBuildListener.java +++ b/EssentialsAntiBuild/src/net/ess3/antibuild/EssentialsAntiBuildListener.java @@ -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 } } } + */ } -- cgit v1.2.3