fix a dupe bug

This commit is contained in:
PrototypeTrousers
2022-08-29 19:44:53 -03:00
parent 027e8477c2
commit 29c18bbf33
@@ -120,7 +120,7 @@ public class AppEngSlot extends Slot
{ {
if( this.isSlotEnabled() ) if( this.isSlotEnabled() )
{ {
ItemHandlerUtil.setStackInSlot( this.itemHandler, this.index, stack ); ItemHandlerUtil.setStackInSlot( this.itemHandler, this.index, stack.copy() );
if( this.getContainer() != null ) if( this.getContainer() != null )
{ {
@@ -147,6 +147,7 @@ public class AppEngSlot extends Slot
this.getContainer().onSlotChange( this ); this.getContainer().onSlotChange( this );
} }
} }
super.onSlotChanged();
} }
@Override @Override