Cleanup hologram class, remove witherskull option for 1.8 and fix duplicate nametags and non-invisibility on armorstands

This commit is contained in:
libraryaddict 2015-03-11 13:16:00 +13:00
parent dbeea5bf69
commit f47447134e
3 changed files with 630 additions and 591 deletions

View File

@ -192,6 +192,11 @@ public class CustomTagFix extends MiniPlugin implements IPacketHandler, NCPHook
// Ignore Armor stand packets
if (spawnPacket.b == 30 || spawnPacket.l == null || spawnPacket.l.c() == null || spawnPacket.a == 777777)
{
if (spawnPacket.b == 30)
{
_ignoreSkulls.add(spawnPacket.a);
}
return;
}

File diff suppressed because it is too large Load Diff

View File

@ -315,8 +315,7 @@ class TeamBomb implements Comparable<TeamBomb>
public void setupHologram()
{
_hologram = new Hologram(this._game.getArcadeManager().getHologramManager(), getBlockLocation().clone().add(0, 1, 0))
.setUsesWitherSkull();
_hologram = new Hologram(this._game.getArcadeManager().getHologramManager(), getBlockLocation().clone().add(0, 1, 0));
_hologram.setText(getTeam().GetColor() + C.Bold + getTeam().GetName() + " Team's Bomb");
_hologram.start();
}