mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-01 05:04:43 +02:00
Begin trying to remove newly-deprecated "magic numbers"
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user