Fixes #3449: Fix CellInventory to not mess with the item definition
This commit is contained in:
@@ -125,7 +125,7 @@ public class ItemCellInventory extends AbstractCellInventory<IAEItemStack>
|
|||||||
// any NBT data for empty cells instead of relying on an empty IItemContainer
|
// any NBT data for empty cells instead of relying on an empty IItemContainer
|
||||||
if( ItemCellInventory.isStorageCell( input.getDefinition() ) )
|
if( ItemCellInventory.isStorageCell( input.getDefinition() ) )
|
||||||
{
|
{
|
||||||
final IMEInventory meInventory = getCell( input.getDefinition(), null );
|
final IMEInventory meInventory = getCell( input.createItemStack(), null );
|
||||||
if( meInventory != null && !this.isEmpty( meInventory ) )
|
if( meInventory != null && !this.isEmpty( meInventory ) )
|
||||||
{
|
{
|
||||||
return input;
|
return input;
|
||||||
|
|||||||
Reference in New Issue
Block a user