Merge branch 'master' of https://bitbucket.org/AlgorithmX2/appliedenergistics2 into rv1
This commit is contained in:
@@ -862,7 +862,10 @@ public abstract class AEBaseContainer extends Container
|
||||
if ( slotItem != null )
|
||||
{
|
||||
IAEItemStack ais = slotItem.copy();
|
||||
long stackSize = Math.min( ais.getItemStack().getMaxStackSize(), ais.getStackSize() );
|
||||
long maxSize = ais.getItemStack().getMaxStackSize();
|
||||
ais.setStackSize( maxSize );
|
||||
ais = cellInv.extractItems( ais, Actionable.SIMULATE, mySrc );
|
||||
long stackSize = Math.min( maxSize, ais.getStackSize() );
|
||||
ais.setStackSize( (stackSize + 1) >> 1 );
|
||||
ais = Platform.poweredExtraction( powerSrc, cellInv, ais, mySrc );
|
||||
if ( ais != null )
|
||||
|
||||
@@ -151,7 +151,7 @@ public class ContainerQuartzKnife extends AEBaseContainer implements IAEAppEngIn
|
||||
@Override
|
||||
public void setInventorySlotContents(int var1, ItemStack var2)
|
||||
{
|
||||
if ( var2 == null )
|
||||
if ( var2 == null && Platform.isServer() )
|
||||
makePlate();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user