Re-added opposite facing on shift click functionality, fixes #205
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
|
||||
**Features**
|
||||
- Added X button to Processing Pattern Encoder to clear configuration of inputs and outputs
|
||||
- Re-added opposite facing on shift click functionality
|
||||
|
||||
### 0.8.10
|
||||
**Bugfixes**
|
||||
|
||||
@@ -25,7 +25,9 @@ public enum EnumPlacementType {
|
||||
EnumFacing getFrom(BlockPos pos, EntityLivingBase entity) {
|
||||
switch (this) {
|
||||
case ANY:
|
||||
return BlockPistonBase.getFacingFromEntity(pos, entity);
|
||||
EnumFacing facing = BlockPistonBase.getFacingFromEntity(pos, entity);
|
||||
|
||||
return entity.isSneaking() ? facing.getOpposite() : facing;
|
||||
case HORIZONTAL:
|
||||
return entity.getHorizontalFacing().getOpposite();
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user