diff --git a/Plugins/Mineplex.Hub/src/mineplex/hub/HubManager.java b/Plugins/Mineplex.Hub/src/mineplex/hub/HubManager.java index c76963e41..a25a1b790 100644 --- a/Plugins/Mineplex.Hub/src/mineplex/hub/HubManager.java +++ b/Plugins/Mineplex.Hub/src/mineplex/hub/HubManager.java @@ -94,9 +94,18 @@ public class HubManager extends MiniClientPlugin { if (entity instanceof LivingEntity) { - if (((LivingEntity)entity).isCustomNameVisible() && ((LivingEntity)entity).getCustomName() != null && ((LivingEntity)entity).getCustomName().equalsIgnoreCase("minekartrider")) + if (((LivingEntity)entity).isCustomNameVisible() && ((LivingEntity)entity).getCustomName() != null) { - _disguiseManager.Disguise(new DisguisePlayer(entity, "Play " + ChatColor.YELLOW + "MineKart")); + if (((LivingEntity)entity).getCustomName().equalsIgnoreCase("minekartrider")) + _disguiseManager.Disguise(new DisguisePlayer(entity, "Play " + ChatColor.YELLOW + "MineKart")); + else if (((LivingEntity)entity).getCustomName().equalsIgnoreCase("defek7")) + _disguiseManager.Disguise(new DisguisePlayer(entity, "defek7")); + else if (((LivingEntity)entity).getCustomName().equalsIgnoreCase("chiss")) + _disguiseManager.Disguise(new DisguisePlayer(entity, "Chiss")); + else if (((LivingEntity)entity).getCustomName().equalsIgnoreCase("Sterling_")) + _disguiseManager.Disguise(new DisguisePlayer(entity, "Sterling_")); + else if (((LivingEntity)entity).getCustomName().equalsIgnoreCase("Spu_")) + _disguiseManager.Disguise(new DisguisePlayer(entity, "Spu_")); } } }