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

@ -10,6 +10,7 @@ Key:
Version 1.3.06-dev
+ Added permissions check to skill functions
+ Added API functions for obtaining offline profiles & profiles via player names
= Fixed bug where {0} would be displayed in front of your power level in mcstats
= Fixed mmoupdate not being useable from console
= Fixed bug with repairing wooden tools
! Changed mcremove to no longer kick players when they are removed from database

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;
}