Merge pull request 'Fixed Lever Activation for 0 Ticks' (#98) from detonator2.0 into master
Reviewed-by: YoyoNow <jwsteam@nidido.de>
Dieser Commit ist enthalten in:
Commit
2d9c6f76ec
@ -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);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren