From ba8d0609271f71666e827019787ebb25526c5fde Mon Sep 17 00:00:00 2001 From: KHobbits Date: Mon, 27 Aug 2012 16:58:44 +0100 Subject: [PATCH] Fix minor typo in plugin.yml Remove 'essentials.interact' permission from antibuild - Not needed --- Essentials/src/plugin.yml | 2 +- .../essentials/antibuild/EssentialsAntiBuildListener.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Essentials/src/plugin.yml b/Essentials/src/plugin.yml index 280cee9bf..7b01685ce 100644 --- a/Essentials/src/plugin.yml +++ b/Essentials/src/plugin.yml @@ -328,7 +328,7 @@ commands: aliases: [espawnmob,mob,emob] speed: description: Change your speed limits - usage: / [speed] [player] + usage: / [player] aliases: [flyspeed,walkspeed,fspeed,wspeed,eflyspeed,ewalkspeed,efspeed,ewspeed,espeed] sudo: description: Make another user perform a command. diff --git a/EssentialsAntiBuild/src/com/earth2me/essentials/antibuild/EssentialsAntiBuildListener.java b/EssentialsAntiBuild/src/com/earth2me/essentials/antibuild/EssentialsAntiBuildListener.java index 3c5d9b889..cb29af086 100644 --- a/EssentialsAntiBuild/src/com/earth2me/essentials/antibuild/EssentialsAntiBuildListener.java +++ b/EssentialsAntiBuild/src/com/earth2me/essentials/antibuild/EssentialsAntiBuildListener.java @@ -196,7 +196,7 @@ public class EssentialsAntiBuildListener implements Listener prot.getEssentialsConnect().alert(user, item.getType().toString(), _("alertUsed")); } - if (prot.getSettingBool(AntiBuildConfig.disable_use) && !user.canBuild() && !user.isAuthorized("essentials.interact") && !user.isAuthorized("essentials.build")) + if (prot.getSettingBool(AntiBuildConfig.disable_use) && !user.canBuild() && !user.isAuthorized("essentials.build")) { if (!metaPermCheck(user, "interact", event.getClickedBlock())) {