diff --git a/src/main/java/appeng/me/storage/AbstractCellInventory.java b/src/main/java/appeng/me/storage/AbstractCellInventory.java index 27ca71d3f..e428e6493 100644 --- a/src/main/java/appeng/me/storage/AbstractCellInventory.java +++ b/src/main/java/appeng/me/storage/AbstractCellInventory.java @@ -151,7 +151,7 @@ public abstract class AbstractCellInventory> implements IC } // clean any old crusty stuff... - for( ; x < oldStoredItems && x < this.maxItemTypes; x++ ) + for( ; x >= oldStoredItems && x < this.maxItemTypes; x++ ) { this.tagCompound.removeTag( ITEM_SLOT_KEYS[x] ); this.tagCompound.removeTag( ITEM_SLOT_COUNT_KEYS[x] );