Not entirely sure why passing a String instead of an int fixes this..

This commit is contained in:
nossr50
2012-04-07 13:38:10 -07:00
parent 4e6cc5ffa0
commit 7a119facdf
2 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,7 @@ public class McstatsCommand implements CommandExecutor {
CommandHelper.printCombatSkills(player);
CommandHelper.printMiscSkills(player);
player.sendMessage(mcLocale.getString("mcPlayerListener.PowerLevel", new Object[] { PP.getPowerLevel() }));
player.sendMessage(mcLocale.getString("mcPlayerListener.PowerLevel", new Object[] { String.valueOf(PP.getPowerLevel()) }));
return true;
}