Fortify ItemLists.
This commit is contained in:
@@ -12,6 +12,7 @@ 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()
|
||||
@@ -19,8 +20,9 @@ public class MEPassthru<T extends IAEStack<T>> implements IMEInventoryHandler<T>
|
||||
return internal;
|
||||
}
|
||||
|
||||
public MEPassthru(IMEInventory<T> i) {
|
||||
public MEPassthru(IMEInventory<T> i,Class<? extends IAEStack> cla) {
|
||||
setInternal( i );
|
||||
clz = cla;
|
||||
}
|
||||
|
||||
public void setInternal(IMEInventory<T> i)
|
||||
|
||||
Reference in New Issue
Block a user