Storage disk -> storage housing + storage part conversion needs shift
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
- Fixed items disappearing in Grid when doing a weird combination of inputs
|
- Fixed items disappearing in Grid when doing a weird combination of inputs
|
||||||
- Fixed Solderer not stacking items
|
- Fixed Solderer not stacking items
|
||||||
- Fixed Importer voiding Storage Disks from the Disk Drive
|
- Fixed Importer voiding Storage Disks from the Disk Drive
|
||||||
|
- Fixed Controller not saving energy
|
||||||
|
|
||||||
**Features**
|
**Features**
|
||||||
- Added autocrafting
|
- Added autocrafting
|
||||||
@@ -32,9 +33,9 @@
|
|||||||
|
|
||||||
### 0.5.6
|
### 0.5.6
|
||||||
**Bugfixes**
|
**Bugfixes**
|
||||||
- Fix sorting crash
|
- Fixed sorting crash
|
||||||
- Fix autofocusing on priority field in storage GUIs
|
- Fixed autofocusing on priority field in storage GUIs
|
||||||
- Fix controller causing lag when energy level changes
|
- Fixed controller causing lag when energy level changes
|
||||||
|
|
||||||
### 0.5.5
|
### 0.5.5
|
||||||
**Bugfixes**
|
**Bugfixes**
|
||||||
|
@@ -51,7 +51,7 @@ public class ItemStorageDisk extends ItemBase {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ActionResult<ItemStack> onItemRightClick(ItemStack stack, World world, EntityPlayer player, EnumHand hand) {
|
public ActionResult<ItemStack> onItemRightClick(ItemStack stack, World world, EntityPlayer player, EnumHand hand) {
|
||||||
if (!world.isRemote && NBTStorage.getStored(stack.getTagCompound()) == 0 && stack.getMetadata() != TYPE_CREATIVE) {
|
if (!world.isRemote && player.isSneaking() && NBTStorage.getStored(stack.getTagCompound()) == 0 && stack.getMetadata() != TYPE_CREATIVE) {
|
||||||
ItemStack storagePart = new ItemStack(RefinedStorageItems.STORAGE_PART, 1, stack.getMetadata());
|
ItemStack storagePart = new ItemStack(RefinedStorageItems.STORAGE_PART, 1, stack.getMetadata());
|
||||||
|
|
||||||
if (!player.inventory.addItemStackToInventory(storagePart.copy())) {
|
if (!player.inventory.addItemStackToInventory(storagePart.copy())) {
|
||||||
|
Reference in New Issue
Block a user