SteamWar/SpigotCore
Archiviert
13
0

hotfix #33

Zusammengeführt
Lixfel hat 1 Commits von scoreboard_fix nach master 2020-01-12 18:51:34 +01:00 zusammengeführt
Nur Änderungen aus Commit 020aac870c werden angezeigt - Alle Commits anzeigen

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