Remove customnametrue from horse mount
This commit is contained in:
parent
ee363f55a6
commit
75cf80652c
|
@ -107,15 +107,7 @@ public class HorseMount extends Mount<Horse>
|
||||||
if (_armor != null)
|
if (_armor != null)
|
||||||
horse.getInventory().setArmor(new ItemStack(_armor));
|
horse.getInventory().setArmor(new ItemStack(_armor));
|
||||||
|
|
||||||
if (player.getName().equals("Phinary"))
|
|
||||||
{
|
|
||||||
horse.setCustomName("Dinnerbone");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
horse.setCustomName(player.getName() + "'s " + GetName());
|
horse.setCustomName(player.getName() + "'s " + GetName());
|
||||||
horse.setCustomNameVisible(true);
|
|
||||||
}
|
|
||||||
//Inform
|
//Inform
|
||||||
UtilPlayer.message(player, F.main("Mount", "You spawned " + F.elem(GetName()) + "."));
|
UtilPlayer.message(player, F.main("Mount", "You spawned " + F.elem(GetName()) + "."));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue