mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-28 16:06:48 +01:00
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) {
|
||||
if (!te.hasSource() || !(te instanceof DirectionalShaftHalvesTileEntity))
|
||||
if (!(te.hasSource()||te.isSource()) || !(te instanceof DirectionalShaftHalvesTileEntity))
|
||||
return 1;
|
||||
Direction source = ((DirectionalShaftHalvesTileEntity) te).getSourceFacing();
|
||||
|
||||
|
|
Loading…
Reference in a new issue