SteamWar/BauSystem2.0
Archiviert
12
0

Hotfix Recorder NPE
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
yoyosource 2022-10-13 17:12:03 +02:00
Ursprung fca07eba75
Commit 9bb4cf548b

Datei anzeigen

@ -114,13 +114,13 @@ public class Recorder implements Listener {
traceRecorder.recordSupplier(() -> { traceRecorder.recordSupplier(() -> {
Record record = new Record(region); Record record = new Record(region);
StoredRecords.add(region, record); StoredRecords.add(region, record);
tntTraceRecorderMap.forEach((tntPrimed, region1) -> {
if (region1 == region) {
traceRecorder.tick(tntPrimed);
}
});
return record; return record;
}); });
tntTraceRecorderMap.forEach((tntPrimed, region1) -> {
if (region1 == region) {
traceRecorder.spawn(tntPrimed);
}
});
} }
public void remove(Region region) { public void remove(Region region) {