Merge pull request #2275 from Eriksonnaren/patch-1

Allows generator blocks to output different speeds in different direc…
This commit is contained in:
simibubi 2021-11-20 13:25:30 +01:00 committed by GitHub
commit a3808365dd
Failed to generate hash of commit

View file

@ -156,7 +156,7 @@ public class RotationPropagator {
}
private static float getAxisModifier(KineticTileEntity te, Direction direction) {
if (!te.hasSource() || !(te instanceof DirectionalShaftHalvesTileEntity))
if (!(te.hasSource()||te.isSource()) || !(te instanceof DirectionalShaftHalvesTileEntity))
return 1;
Direction source = ((DirectionalShaftHalvesTileEntity) te).getSourceFacing();