SteamWar/SpigotCore
Archiviert
13
0
Dieser Commit ist enthalten in:
Yaruma3341 2020-01-12 18:22:46 +01:00
Ursprung 98d5be1e07
Commit 020aac870c

Datei anzeigen

@ -41,13 +41,9 @@ public class SWScoreboard {
return true;
}
public static boolean removeScoreboard(Player player) {
public static void removeScoreboard(Player player) {
if(!playerBoards.containsKey(player))
return false;
playerBoards.remove(player);
if(player == null)
return true;
return;
switch (Core.getVersion()) {
case 8:
@ -68,10 +64,8 @@ public class SWScoreboard {
case 15:
((SWScoreboard_15) playerBoards.get(player)).deleteScoreboard(player);
break;
default:
return false;
}
return true;
playerBoards.remove(player);
}
//Scoreboard Updater