Made player names more visible in squid
This commit is contained in:
parent
ce89108aea
commit
5ba494c381
@ -47,7 +47,7 @@ public class KitRifle extends Kit
|
||||
|
||||
//Disguise
|
||||
DisguiseSquid disguise = new DisguiseSquid(player);
|
||||
disguise.SetName(C.cYellow + player.getName());
|
||||
disguise.SetName(C.cWhite + player.getName());
|
||||
disguise.SetCustomNameVisible(true);
|
||||
Manager.GetDisguise().disguise(disguise);
|
||||
}
|
||||
|
@ -47,7 +47,7 @@ public class KitShotgun extends Kit
|
||||
|
||||
//Disguise
|
||||
DisguiseSquid disguise = new DisguiseSquid(player);
|
||||
disguise.SetName(C.cGreen + player.getName());
|
||||
disguise.SetName(C.cWhite + player.getName());
|
||||
disguise.SetCustomNameVisible(true);
|
||||
Manager.GetDisguise().disguise(disguise);
|
||||
}
|
||||
|
@ -44,10 +44,10 @@ public class KitSniper extends Kit
|
||||
ItemStack helm = ItemStackFactory.Instance.CreateStack(Material.DIAMOND_HELMET);
|
||||
helm.addEnchantment(Enchantment.OXYGEN, 3);
|
||||
player.getInventory().setHelmet(helm);
|
||||
|
||||
|
||||
//Disguise
|
||||
DisguiseSquid disguise = new DisguiseSquid(player);
|
||||
disguise.SetName(C.cRed + player.getName());
|
||||
disguise.SetName(C.cWhite + player.getName());
|
||||
disguise.SetCustomNameVisible(true);
|
||||
Manager.GetDisguise().disguise(disguise);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user