Use getName() instead of a String

This commit is contained in:
AlexTheCoder 2016-11-22 21:57:28 -05:00 committed by Shaun Bennett
parent c028edb064
commit 31fd148487

View File

@ -92,7 +92,7 @@ public class MountChicken extends HorseMount
_active.put(player, mount); _active.put(player, mount);
DisguiseChicken chicken = new DisguiseChicken(horse); DisguiseChicken chicken = new DisguiseChicken(horse);
chicken.setName(player.getName() + "'s Chicken Mount"); chicken.setName(player.getName() + "'s " + getName());
Manager.getDisguiseManager().disguise(chicken); Manager.getDisguiseManager().disguise(chicken);
UtilEnt.silence(horse, true); UtilEnt.silence(horse, true);