Skip to content

Commit

Permalink
Fixes #3449: Fix CellInventory to not mess with the item definition
Browse files Browse the repository at this point in the history
  • Loading branch information
fscan committed Jun 20, 2018
1 parent 4bd2797 commit edc0cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/appeng/me/storage/ItemCellInventory.java
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public IAEItemStack injectItems( final IAEItemStack input, final Actionable mode
// any NBT data for empty cells instead of relying on an empty IItemContainer
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 ) )
{
return input;
Expand Down

0 comments on commit edc0cef

Please sign in to comment.