SteamWar/BauSystem2.0
Archiviert
12
0

Added debug message for trace history map nullpointer and potential fix #257

Zusammengeführt
YoyoNow hat 3 Commits von fix-trace-history-nullpointer nach master 2024-07-16 22:38:04 +02:00 zusammengeführt
Nur Änderungen aus Commit 7fc76e5e2a werden angezeigt - Alle Commits anzeigen

Datei anzeigen

@ -175,7 +175,7 @@ public class TraceRecorder implements Listener {
Logger logger = Bukkit.getLogger(); Logger logger = Bukkit.getLogger();
logger.log(Level.WARNING, "Nullpointer thrown by historyMap"); logger.log(Level.WARNING, "Nullpointer thrown by historyMap");
logger.log(Level.WARNING, "TNT History: " + history); logger.log(Level.WARNING, "TNT History: " + history);
logger.log(Level.WARNING, "History Map" + history); logger.log(Level.WARNING, "History Map: " + historyMap);
throw e; throw e;
} }
tntID = wrappedTrace.getNextOpenRecordIdAndIncrement(); tntID = wrappedTrace.getNextOpenRecordIdAndIncrement();