Refactor Some Class stuff out in favor of StorageChannel.

This commit is contained in:
AlgorithmX2
2014-07-23 14:11:12 -05:00
parent e1fe66adf9
commit 298ae41198
13 changed files with 24 additions and 26 deletions
+1 -3
View File
@@ -12,7 +12,6 @@ import appeng.api.storage.data.IItemList;
public class MEPassthru<T extends IAEStack<T>> implements IMEInventoryHandler<T>
{
Class<? extends IAEStack> clz;
private IMEInventory<T> internal;
protected IMEInventory<T> getInternal()
@@ -20,9 +19,8 @@ public class MEPassthru<T extends IAEStack<T>> implements IMEInventoryHandler<T>
return internal;
}
public MEPassthru(IMEInventory<T> i, Class<? extends IAEStack> cla) {
public MEPassthru( IMEInventory<T> i ) {
setInternal( i );
clz = cla;
}
public void setInternal(IMEInventory<T> i)