Merge branch 'main' of https://github.com/Lucanius69/BedWars
This commit is contained in:
commit
6003f2f506
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user