mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-10 20:45:10 +01:00
Crafter hotfix
- Fixed crash when placing a crafter between two colliding rotation sources
This commit is contained in:
parent
285cb52894
commit
20a97c6b39
@ -245,6 +245,8 @@ public class MechanicalCrafterBlock extends HorizontalKineticBlock implements IT
|
||||
}
|
||||
|
||||
public static Direction getTargetDirection(BlockState state) {
|
||||
if (!AllBlocks.MECHANICAL_CRAFTER.has(state))
|
||||
return Direction.UP;
|
||||
Direction facing = state.get(HORIZONTAL_FACING);
|
||||
Pointing point = state.get(POINTING);
|
||||
Vec3d targetVec = new Vec3d(0, 1, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user