This commit is contained in:
Trixkz 2021-11-22 11:00:25 -05:00
parent 80df86c6bf
commit c992d8131b

View File

@ -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 {