Resolving issues #243, #241, and #234.

This commit is contained in:
Glitchfinder
2012-10-30 17:59:58 -07:00
parent 9354831729
commit 70231b6ae0
10 changed files with 67 additions and 0 deletions

View File

@ -46,6 +46,11 @@ public abstract class SkillCommand implements CommandExecutor {
player = (Player) sender;
profile = Users.getProfile(player);
if (profile == null) {
sender.sendMessage(LocaleLoader.getString("Commands.DoesNotExist"));
return true;
}
skillValue = profile.getSkillLevel(skill);
dataCalculations();
permissionsCheck();