Update RespawnRunnable.java
This commit is contained in:
parent
3a8dfaebdf
commit
ededa6d1bf
@ -48,6 +48,7 @@ public class RespawnRunnable extends BukkitRunnable {
|
|||||||
for (ItemStack stack : this.plugin.getGameManager().getGameItems()) {
|
for (ItemStack stack : this.plugin.getGameManager().getGameItems()) {
|
||||||
this.player.getInventory().addItem(stack);
|
this.player.getInventory().addItem(stack);
|
||||||
}
|
}
|
||||||
|
this.player.getInventory().setArmorContents(this.plugin.getGameManager().getGameArmor(playerData));
|
||||||
|
|
||||||
this.game.getTeams().forEach(team -> team.playingPlayers().filter(player1 -> !this.player.equals(player1))
|
this.game.getTeams().forEach(team -> team.playingPlayers().filter(player1 -> !this.player.equals(player1))
|
||||||
.forEach(matchplayer -> matchplayer.sendMessage(CC.translate(this.gameTeam.getPlayerTeam().getChatColor() + this.player.getName() + " &ehas respawned!"))));
|
.forEach(matchplayer -> matchplayer.sendMessage(CC.translate(this.gameTeam.getPlayerTeam().getChatColor() + this.player.getName() + " &ehas respawned!"))));
|
||||||
|
Loading…
Reference in New Issue
Block a user