Merge pull request #2275 from Eriksonnaren/patch-1
Allows generator blocks to output different speeds in different direc…
This commit is contained in:
commit
a3808365dd
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ public class RotationPropagator {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static float getAxisModifier(KineticTileEntity te, Direction direction) {
|
private static float getAxisModifier(KineticTileEntity te, Direction direction) {
|
||||||
if (!te.hasSource() || !(te instanceof DirectionalShaftHalvesTileEntity))
|
if (!(te.hasSource()||te.isSource()) || !(te instanceof DirectionalShaftHalvesTileEntity))
|
||||||
return 1;
|
return 1;
|
||||||
Direction source = ((DirectionalShaftHalvesTileEntity) te).getSourceFacing();
|
Direction source = ((DirectionalShaftHalvesTileEntity) te).getSourceFacing();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue