From ededa6d1bfb0d2f2eb74154f7f94c29d3749383c Mon Sep 17 00:00:00 2001 From: Luca Date: Mon, 22 Nov 2021 17:28:56 +0100 Subject: [PATCH] Update RespawnRunnable.java --- src/main/java/rip/tilly/bedwars/runnables/RespawnRunnable.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/rip/tilly/bedwars/runnables/RespawnRunnable.java b/src/main/java/rip/tilly/bedwars/runnables/RespawnRunnable.java index f4a0691..01be62c 100644 --- a/src/main/java/rip/tilly/bedwars/runnables/RespawnRunnable.java +++ b/src/main/java/rip/tilly/bedwars/runnables/RespawnRunnable.java @@ -48,6 +48,7 @@ public class RespawnRunnable extends BukkitRunnable { for (ItemStack stack : this.plugin.getGameManager().getGameItems()) { 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)) .forEach(matchplayer -> matchplayer.sendMessage(CC.translate(this.gameTeam.getPlayerTeam().getChatColor() + this.player.getName() + " &ehas respawned!"))));