Port to 1.11
This commit is contained in:
@@ -108,7 +108,7 @@ public final class AEItemStack extends AEStack<IAEItemStack> implements IAEItemS
|
||||
this.getDefinition().setTagCompound( (AESharedNBT) AESharedNBT.getSharedTagCompound( tagCompound, is ) );
|
||||
}
|
||||
|
||||
this.setStackSize( is.stackSize );
|
||||
this.setStackSize( is.getCount() );
|
||||
this.setCraftable( false );
|
||||
this.setCountRequestable( 0 );
|
||||
|
||||
@@ -123,7 +123,7 @@ public final class AEItemStack extends AEStack<IAEItemStack> implements IAEItemS
|
||||
return null;
|
||||
}
|
||||
|
||||
final ItemStack itemstack = ItemStack.loadItemStackFromNBT( i );
|
||||
final ItemStack itemstack = new ItemStack( i );
|
||||
if( itemstack == null )
|
||||
{
|
||||
return null;
|
||||
@@ -181,7 +181,7 @@ public final class AEItemStack extends AEStack<IAEItemStack> implements IAEItemS
|
||||
final long stackSize = getPacketValue( stackType, data );
|
||||
final long countRequestable = getPacketValue( countReqType, data );
|
||||
|
||||
final ItemStack itemstack = ItemStack.loadItemStackFromNBT( d );
|
||||
final ItemStack itemstack = new ItemStack( d );
|
||||
if( itemstack == null )
|
||||
{
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user