Simplified Remove
Dieser Commit ist enthalten in:
Ursprung
19cf553654
Commit
9d02ce7862
@ -84,9 +84,7 @@ public class Detonator implements Listener {
|
|||||||
try {
|
try {
|
||||||
powered = AutoLoader_15.getLever(activation.location.getBlock());
|
powered = AutoLoader_15.getLever(activation.location.getBlock());
|
||||||
}catch (ClassCastException e) {
|
}catch (ClassCastException e) {
|
||||||
locs.forEach(detonatorActivation -> {
|
locs.remove(activation);
|
||||||
if(detonatorActivation.location.equals(activation.location)) locs.remove(detonatorActivation);
|
|
||||||
});
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
AutoLoader_15.setRedstone(activation.location, !powered);
|
AutoLoader_15.setRedstone(activation.location, !powered);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren