SteamWar/BauSystem
Archiviert
13
0

Simplified Remove

Dieser Commit ist enthalten in:
Chaoscaot 2020-09-25 13:31:51 +02:00
Ursprung 19cf553654
Commit 9d02ce7862

Datei anzeigen

@ -84,9 +84,7 @@ public class Detonator implements Listener {
try {
powered = AutoLoader_15.getLever(activation.location.getBlock());
}catch (ClassCastException e) {
locs.forEach(detonatorActivation -> {
if(detonatorActivation.location.equals(activation.location)) locs.remove(detonatorActivation);
});
locs.remove(activation);
return;
}
AutoLoader_15.setRedstone(activation.location, !powered);