Fix patterns needing to be encoded twice

This commit is contained in:
PrototypeTrousers
2022-09-10 08:35:40 -03:00
parent 6277058167
commit 1ed654843c
2 changed files with 3 additions and 4 deletions
@@ -77,11 +77,10 @@ public class AppEngInternalInventory extends ItemStackHandler implements Iterabl
@Override
public void setStackInSlot( int slot, @Nonnull ItemStack stack )
{
if( stack == this.getStackInSlot( slot ) )
if( stack != this.getStackInSlot( slot ) )
{
return;
this.previousStack = this.getStackInSlot( slot ).copy();
}
this.previousStack = this.getStackInSlot( slot ).copy();
super.setStackInSlot( slot, stack );
}