diff options
author | snowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-05-13 17:29:20 +0000 |
---|---|---|
committer | snowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-05-13 17:29:20 +0000 |
commit | ea15ea0995749b228dc288b88c466f62df94c952 (patch) | |
tree | 8c29733d3287dfc746b1ea272c84173427f36b31 | |
parent | 6678366a5520ce5e57005712b71692268cc2cf09 (diff) | |
download | Essentials-ea15ea0995749b228dc288b88c466f62df94c952.tar Essentials-ea15ea0995749b228dc288b88c466f62df94c952.tar.gz Essentials-ea15ea0995749b228dc288b88c466f62df94c952.tar.lz Essentials-ea15ea0995749b228dc288b88c466f62df94c952.tar.xz Essentials-ea15ea0995749b228dc288b88c466f62df94c952.zip |
The default group does not have build rights.
Op users always have build rights.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1434 e251c2fe-e539-e718-e476-b85c1f46cddb
-rw-r--r-- | Essentials/src/com/earth2me/essentials/PlayerExtension.java | 2 | ||||
-rw-r--r-- | EssentialsGroupManager/src/groups.yml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Essentials/src/com/earth2me/essentials/PlayerExtension.java b/Essentials/src/com/earth2me/essentials/PlayerExtension.java index e8969e1a5..7c784f4bc 100644 --- a/Essentials/src/com/earth2me/essentials/PlayerExtension.java +++ b/Essentials/src/com/earth2me/essentials/PlayerExtension.java @@ -76,7 +76,7 @@ public class PlayerExtension extends PlayerWrapper { try { - return com.nijikokun.bukkit.Permissions.Permissions.Security.canGroupBuild(getWorld().getName(), getGroup()); + return isOp() || com.nijikokun.bukkit.Permissions.Permissions.Security.canGroupBuild(getWorld().getName(), getGroup()); } catch (Throwable ex) { diff --git a/EssentialsGroupManager/src/groups.yml b/EssentialsGroupManager/src/groups.yml index 581e08af2..b434ed27c 100644 --- a/EssentialsGroupManager/src/groups.yml +++ b/EssentialsGroupManager/src/groups.yml @@ -11,7 +11,7 @@ groups: inheritance: [] info: prefix: '&e' - build: true + build: false suffix: '' SemiAdmin: default: false |