This commit is contained in:
PrototypeTrousers
2022-07-20 22:24:55 -03:00
parent 346f5aeaac
commit 9fdf0345b3
3 changed files with 19 additions and 2 deletions
@@ -138,6 +138,15 @@ public class AppEngSlot extends Slot
public void onSlotChanged()
{
this.setIsValid( hasCalculatedValidness.NotAvailable );
if( this.isSlotEnabled() )
{
ItemHandlerUtil.setStackInSlot( this.itemHandler, this.index, this.getStack().copy() );
if( this.getContainer() != null )
{
this.getContainer().onSlotChange( this );
}
}
}
@Override