- Fix armor checking
- Edit wither death message
This commit is contained in:
parent
10aba533f3
commit
17ac3cb597
@ -265,14 +265,14 @@ public class TowerManager implements Listener
|
||||
replaced = true;
|
||||
player.getInventory().setHelmet(new ItemBuilder(Material.GOLD_HELMET).setUnbreakable(true).build());
|
||||
}
|
||||
if (UtilItem.isLeatherProduct(player.getInventory().getBoots()))
|
||||
if (UtilItem.isLeatherProduct(player.getInventory().getLeggings()))
|
||||
{
|
||||
if (replaced)
|
||||
continue;
|
||||
replaced = true;
|
||||
player.getInventory().setLeggings(new ItemBuilder(Material.GOLD_LEGGINGS).setUnbreakable(true).build());
|
||||
}
|
||||
if (UtilItem.isLeatherProduct(player.getInventory().getBoots()))
|
||||
if (UtilItem.isLeatherProduct(player.getInventory().getChestplate()))
|
||||
{
|
||||
if (replaced)
|
||||
continue;
|
||||
|
@ -177,7 +177,7 @@ public class WitherVariation extends GameVariation
|
||||
WitherSpawned = false;
|
||||
_wowner = null;
|
||||
_skellyMan.onWitherDeath();
|
||||
UtilTextMiddle.display("", team.GetColor() + team.getDisplayName() + "'s Wither has been Destroyed!");
|
||||
UtilTextMiddle.display("", team.GetColor() + team.getDisplayName() + "'s Wither has been Defeated!");
|
||||
//Host.Objective.resetTeamToMainObjective(Host.GetTeam(ChatColor.RED));
|
||||
//Host.Objective.resetTeamToMainObjective(Host.GetTeam(ChatColor.AQUA));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user