Permissions hotfix

This commit is contained in:
MistPhizzle 2014-07-03 22:29:30 -04:00
parent 5b298dc125
commit 9d5cc87f14
3 changed files with 3 additions and 3 deletions

Binary file not shown.

View file

@ -131,7 +131,7 @@ public class Commands {
String ability = Methods.getAbility(abil);
if (!Methods.canBend(s.getName(), ability)) {
if (!Methods.hasPermission((Player) s, ability)) {
s.sendMessage(ChatColor.RED + "You don't have permission to do that.");
return true;
}
@ -175,7 +175,7 @@ public class Commands {
return true;
}
if (!Methods.canBend(s.getName(), ability)) {
if (!Methods.hasPermission((Player) s, ability)) {
s.sendMessage(ChatColor.RED + "You don't have permission to do that.");
return true;
}

View file

@ -1,6 +1,6 @@
name: ProjectKorra
author: ProjectKorra
version: 1.1.0 BETA 12
version: 1.1.0 BETA 13
main: com.projectkorra.ProjectKorra.ProjectKorra
commands:
projectkorra: