Begin trying to remove newly-deprecated "magic numbers"

This commit is contained in:
GJ
2013-09-05 14:55:08 -04:00
parent a639a37637
commit fd8d9b02a9
10 changed files with 27 additions and 20 deletions

View File

@ -206,7 +206,7 @@ public class TamingManager extends SkillManager {
int heldItemAmount = heldItem.getAmount();
if (heldItemAmount < summonAmount) {
player.sendMessage(LocaleLoader.getString("Skills.NeedMore", StringUtils.getPrettyItemString(heldItem.getTypeId())));
player.sendMessage(LocaleLoader.getString("Skills.NeedMore", StringUtils.getPrettyItemString(heldItem.getType())));
return;
}