Fix AESharedItemStack#compareNBT to get consistent ordering. (#3169)

This commit is contained in:
fscan
2017-10-20 23:25:18 +02:00
committed by GitHub
parent cba6c5500f
commit f80f623ccf
2 changed files with 3 additions and 13 deletions
@@ -205,7 +205,7 @@ public abstract class AEBaseContainer extends Container
final NBTTagCompound data = CompressedStreamTools.readCompressed( new ByteArrayInputStream( buffer ) );
if( data != null )
{
this.setTargetStack( AEApi.instance().storage().getStorageChannel( IItemStorageChannel.class ).createStack( new ItemStack( data ) ) );
this.setTargetStack( AEItemStack.fromNBT( data ) );
}
}
catch( final IOException e )