Fix Scoreboard Nullpointer Erros with Trace Manager #105
@ -59,7 +59,8 @@ public class TraceManager {
|
|||||||
return new ArrayList<>(frameMap.getOrDefault(frameID, new ArrayList<>()));
|
return new ArrayList<>(frameMap.getOrDefault(frameID, new ArrayList<>()));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static int currentFrameSize(){
|
public static int currentFrameSize() {
|
||||||
|
if (!frameMap.containsKey(currentFrame)) return 0;
|
||||||
return frameMap.get(currentFrame).size();
|
return frameMap.get(currentFrame).size();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren