SteamWar/BauSystem
Archiviert
13
0

Fix NullPointerException in delete()

Dieser Commit ist enthalten in:
jojo 2020-07-19 14:42:55 +02:00
Ursprung d800eb5544
Commit df72a08f99

Datei anzeigen

@ -50,7 +50,6 @@ public class TNTFrame {
private void delete(TNTPrimed tntPrimed, boolean delete) { private void delete(TNTPrimed tntPrimed, boolean delete) {
if (aliveTNT == null) return; if (aliveTNT == null) return;
TNTTrace tntTrace = aliveTNT.get(tntPrimed); TNTTrace tntTrace = aliveTNT.get(tntPrimed);
tntTrace.addLocation(tntPrimed.getLocation());
if (delete) { if (delete) {
aliveTNT.remove(tntPrimed); aliveTNT.remove(tntPrimed);
} }