diff --git a/src/main/java/rip/tilly/bedwars/listeners/game/PlayerKillListener.java b/src/main/java/rip/tilly/bedwars/listeners/game/PlayerKillListener.java index 8e790e2..f5c40ce 100644 --- a/src/main/java/rip/tilly/bedwars/listeners/game/PlayerKillListener.java +++ b/src/main/java/rip/tilly/bedwars/listeners/game/PlayerKillListener.java @@ -36,7 +36,7 @@ public class PlayerKillListener implements Listener { playerData.setPlayerState(PlayerState.RESPAWNING); if (killer != null) { PlayerData killerData = this.plugin.getPlayerDataManager().getPlayerData(killer.getUniqueId()); - killerData.addRandomXp(player); + killerData.addRandomXp(killer); game.broadcast(playerData.getPlayerTeam().getChatColor() + player.getName() + " &ewas killed by " + killerData.getPlayerTeam().getChatColor() + killer.getName() + "&e!"); } else {