Switch to new IItemHandler (#3669)

This commit is contained in:
fscan
2018-10-04 20:39:06 +02:00
committed by yueh
parent e21c59b326
commit d88f550eb0
14 changed files with 34 additions and 158 deletions
@@ -105,7 +105,7 @@ public class WrapperInvItemHandler implements IInventory
@Override
public void markDirty()
{
ItemHandlerUtil.markDirty( this.inv, -1 );
// NOP
}
@Override
@@ -129,7 +129,7 @@ public class WrapperInvItemHandler implements IInventory
@Override
public boolean isItemValidForSlot( int index, ItemStack stack )
{
return ItemHandlerUtil.isItemValidForSlot( this.inv, index, stack );
return this.inv.isItemValid( index, stack );
}
@Override