Fix Tracer Warning #111
@ -40,6 +40,7 @@ public class TraceListener implements Listener {
|
||||
TNTTrace trace;
|
||||
if (!tntMap.containsKey(tnt)) {
|
||||
trace = TraceManager.createTrace();
|
||||
if (trace == null) return;
|
||||
tntMap.put(tnt, trace);
|
||||
} else {
|
||||
trace = tntMap.get(tnt);
|
||||
|
@ -40,6 +40,7 @@ public class TraceManager {
|
||||
}
|
||||
|
||||
public static TNTTrace createTrace() {
|
||||
if (!frameMap.containsKey(currentFrame)) return null;
|
||||
TNTTrace trace = new TNTTrace(currentFrame);
|
||||
int id = generateID();
|
||||
traceMap.put(id, trace);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren