Shift clicking on placing Constructor and Destructor will have opposite direction

This commit is contained in:
Raoul Van den Berge
2016-04-04 23:21:46 +02:00
parent 4e07e806d1
commit 3493007fee
2 changed files with 5 additions and 1 deletions

View File

@@ -108,7 +108,7 @@ public abstract class BlockBase extends Block {
if (tile instanceof TileBase) {
EnumFacing facing = BlockPistonBase.getFacingFromEntity(pos, player);
if (player.isSneaking() && (blockPlaced == RefinedStorageBlocks.IMPORTER || blockPlaced == RefinedStorageBlocks.EXPORTER || blockPlaced == RefinedStorageBlocks.EXTERNAL_STORAGE)) {
if (player.isSneaking() && (blockPlaced == RefinedStorageBlocks.IMPORTER || blockPlaced == RefinedStorageBlocks.EXPORTER || blockPlaced == RefinedStorageBlocks.EXTERNAL_STORAGE || blockPlaced == RefinedStorageBlocks.CONSTRUCTOR || blockPlaced == RefinedStorageBlocks.DESTRUCTOR)) {
facing = facing.getOpposite();
}