SteamWar/SpigotCore
Archiviert
13
0

untested rework of dependent scoreboard source

Dieser Commit ist enthalten in:
BuildTools 2019-12-05 20:49:17 +01:00
Ursprung 7d78c28af5
Commit 2cd3334b99

Datei anzeigen

@ -48,16 +48,6 @@ public class PlayerJoinedEvent implements Listener{
}
event.setJoinMessage("§a§l» §r" + player.getDisplayName());
}
@EventHandler
private void onQuit(PlayerQuitEvent event) {
Player player = event.getPlayer();
event.setQuitMessage("§c§l« §r" + player.getDisplayName());
SWScoreboard.getPlayerBoards().remove(player);
//TEST
@ -77,4 +67,13 @@ public class PlayerJoinedEvent implements Listener{
});
SWScoreboard.getPlayerBoards().put(player, swScoreboard);
}
@EventHandler
private void onQuit(PlayerQuitEvent event) {
Player player = event.getPlayer();
event.setQuitMessage("§c§l« §r" + player.getDisplayName());
SWScoreboard.getPlayerBoards().remove(player);
}
}