Fixed Installable Upgrade Limit Bug.

This commit is contained in:
AlgorithmX2
2014-02-11 23:26:19 -06:00
parent 4ced9575a8
commit 7f35b2ab07
2 changed files with 3 additions and 3 deletions
+1 -2
View File
@@ -14,7 +14,6 @@ import appeng.api.implementations.items.ISpatialStorageCell;
import appeng.api.implementations.items.IStorageComponent;
import appeng.api.implementations.items.IUpgradeModule;
import appeng.api.storage.ICellWorkbenchItem;
import appeng.parts.automation.UpgradeInventory;
import appeng.util.Platform;
public class SlotRestrictedInput extends AppEngSlot
@@ -95,7 +94,7 @@ public class SlotRestrictedInput extends AppEngSlot
if ( i.getItem() == null )
return false;
if ( !inventory.isItemValidForSlot( this.getSlotIndex(), i ) && !(inventory instanceof UpgradeInventory) )
if ( !inventory.isItemValidForSlot( this.getSlotIndex(), i ) )
return false;
IAppEngApi api = AEApi.instance();