SteamWar/BauSystem
Archiviert
13
0

Fixed Lever Activation for 0 Ticks #98

Manuell gemergt
YoyoNow hat 1 Commits von detonator2.0 nach master 2020-09-19 08:45:55 +02:00 zusammengeführt
Nur Änderungen aus Commit 4fd2638040 werden angezeigt - Alle Commits anzeigen

Datei anzeigen

@ -79,7 +79,7 @@ public class Detonator implements Listener {
for (Detoloader.DetonatorActivation activation: getLocations()) { for (Detoloader.DetonatorActivation activation: getLocations()) {
Boolean powered; Boolean powered;
if(activation.activation == 0) switch (Core.getVersion()) { if(activation.activation == -1) switch (Core.getVersion()) {
case 15: case 15:
powered = AutoLoader_15.getLever(activation.location.getBlock()); powered = AutoLoader_15.getLever(activation.location.getBlock());
AutoLoader_15.setRedstone(activation.location, !powered); AutoLoader_15.setRedstone(activation.location, !powered);