Fix NullPointerException in delete()
Dieser Commit ist enthalten in:
Ursprung
d800eb5544
Commit
df72a08f99
@ -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);
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren