public UhcParticipant(UhcPlayer pl, UhcTeam team) { this.player = pl; this.team = team; if (pl.isOnline()) { this.currentHealth = pl.getPlayer().getHealth(); this.currentArmor = ArmorPoints.fromPlayerInventory(pl.getPlayer().getInventory()); } }