use index not slotNumber

This commit is contained in:
Florian Scandella 2017-08-29 21:20:18 +02:00
parent 548af3c6cc
commit c8f10d92bb

View file

@ -79,7 +79,7 @@ public class AppEngSlot extends Slot
public void clearStack()
{
ItemHandlerUtil.setStackInSlot( this.itemHandler, this.slotNumber, ItemStack.EMPTY );
ItemHandlerUtil.setStackInSlot( this.itemHandler, this.index, ItemStack.EMPTY );
}
@Override