Skip to content

Commit ff13615

Browse files
authored
fix: signals not reacting to redstone input anymore (#9444)
1 parent a9154c8 commit ff13615

File tree

3 files changed

+2
-24
lines changed

3 files changed

+2
-24
lines changed

src/main/java/com/simibubi/create/content/trains/signal/SignalBlock.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package com.simibubi.create.content.trains.signal;
22

33
import java.util.Optional;
4-
import java.util.Random;
54

65
import javax.annotation.Nullable;
76

@@ -82,7 +81,7 @@ public void neighborChanged(BlockState pState, Level pLevel, BlockPos pPos, Bloc
8281
Optional<SignalBlockEntity> ste = getBlockEntityOptional(pLevel, pPos);
8382
boolean neighborPowered = false;
8483
if (ste.isEmpty() || !ste.get().computerBehaviour.hasAttachedComputer()) {
85-
powered = pLevel.hasNeighborSignal(pPos);
84+
neighborPowered = pLevel.hasNeighborSignal(pPos);
8685
}
8786
if (powered == neighborPowered)
8887
return;

src/main/resources/assets/create/lang/lt_LT.json

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/main/resources/assets/create/lang/lt_lt.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@
5151
"block.create.gearshift": "Pavarų svirtis",
5252
"block.create.large_cogwheel": "Didelis Dantratis",
5353
"item.create.vertical_gearbox": "Vertikali Pavarų Dėžė"
54-
}
54+
}

0 commit comments

Comments
 (0)