Reorder permissions so that debug shoes permission highest up in the tree

This commit is contained in:
gravitylow committed 2014-01-23 16:09:07 -05:00
1 parent 3517b6068a
commit c1c4d689df
1 file changed
+1 -1
@@ -83,7 +83,7 @@ public enum Permission {
} }
public String whichPermission(CommandSender cs) { public String whichPermission(CommandSender cs) {
for (String s : new String[]{toString(), getBase(), PERMISSION_ALL}) { for (String s : new String[]{PERMISSION_ALL, getBase(), toString()}) {
if (cs.hasPermission(s)) { if (cs.hasPermission(s)) {
return s; return s;
} }