You can now shift click items from the Grid crafting slots to the player inventory when the Grid is disconnected, fixes #1287
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
- Updated Forge to 2315 (raoulvdberge)
|
- Updated Forge to 2315 (raoulvdberge)
|
||||||
- Updated JEI to 4.5.0 (raoulvdberge)
|
- Updated JEI to 4.5.0 (raoulvdberge)
|
||||||
- Removed Collosal Chests integration (raoulvdberge)
|
- Removed Collosal Chests integration (raoulvdberge)
|
||||||
|
- You can now shift click items from the Grid crafting slots to the player inventory when the Grid is disconnected (raoulvdberge)
|
||||||
|
|
||||||
### 1.4.11
|
### 1.4.11
|
||||||
- Removed debug log configuration option, as it's no longer needed (raoulvdberge)
|
- Removed debug log configuration option, as it's no longer needed (raoulvdberge)
|
||||||
|
|||||||
@@ -215,6 +215,8 @@ public class ContainerGrid extends ContainerBase {
|
|||||||
|
|
||||||
if (itemHandler != null) {
|
if (itemHandler != null) {
|
||||||
slot.putStack(itemHandler.onShiftClick((EntityPlayerMP) player, stack));
|
slot.putStack(itemHandler.onShiftClick((EntityPlayerMP) player, stack));
|
||||||
|
} else if (slot instanceof SlotGridCrafting && mergeItemStack(stack, 4, 4 + (9 * 4), false)) {
|
||||||
|
slot.onSlotChanged();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -228,7 +230,7 @@ public class ContainerGrid extends ContainerBase {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected boolean isHeldItemDisabled() {
|
protected boolean isHeldItemDisabled() {
|
||||||
// Here we check for the concrete portable grid type, not IPortableGrid, because we can move the held item in the tile
|
// Here we check for the concrete portable grid type, not IPortableGrid, because we *CAN* move the held item in the portable grid tile
|
||||||
return grid instanceof WirelessGrid || grid instanceof PortableGrid;
|
return grid instanceof WirelessGrid || grid instanceof PortableGrid;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user