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

@@ -1,5 +1,9 @@
# Refined Storage Changelog # Refined Storage Changelog
### 0.6
**Features**
- Shift clicking on placing Constructor and Destructor will have opposite direction
### 0.5.3 ### 0.5.3
**Bugfixes** **Bugfixes**
- Fixed not being able to open a Grid that is 256 blocks away from the Controller - Fixed not being able to open a Grid that is 256 blocks away from the Controller

View File

@@ -108,7 +108,7 @@ public abstract class BlockBase extends Block {
if (tile instanceof TileBase) { if (tile instanceof TileBase) {
EnumFacing facing = BlockPistonBase.getFacingFromEntity(pos, player); 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(); facing = facing.getOpposite();
} }