Merge pull request 'Fix Scoreboard Nullpointer Erros with Trace Manager' (#105) from TraceManagerFix into master
Reviewed-by: Chaoscaot <chaoscaot444@gmail.com>
Dieser Commit ist enthalten in:
Commit
81c653c836
@ -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