formating fixes
This commit is contained in:
@@ -759,8 +759,10 @@ public class DualityInterface implements IGridTickable, IStorageMonitorable, IIn
|
|||||||
|
|
||||||
private boolean handleCrafting( final int x, final InventoryAdaptor d, final IAEItemStack itemStack )
|
private boolean handleCrafting( final int x, final InventoryAdaptor d, final IAEItemStack itemStack )
|
||||||
{
|
{
|
||||||
try {
|
try
|
||||||
if (this.getInstalledUpgrades(Upgrades.CRAFTING) > 0 && itemStack != null) {
|
{
|
||||||
|
if( this.getInstalledUpgrades( Upgrades.CRAFTING ) > 0 && itemStack != null )
|
||||||
|
{
|
||||||
this.craftingTracker.handleCrafting( x, itemStack.getStackSize(), itemStack, d, this.iHost.getTileEntity().getWorld(),
|
this.craftingTracker.handleCrafting( x, itemStack.getStackSize(), itemStack, d, this.iHost.getTileEntity().getWorld(),
|
||||||
this.gridProxy.getGrid(), this.gridProxy.getCrafting(), this.mySource );
|
this.gridProxy.getGrid(), this.gridProxy.getCrafting(), this.mySource );
|
||||||
|
|
||||||
@@ -896,7 +898,8 @@ public class DualityInterface implements IGridTickable, IStorageMonitorable, IIn
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
private static boolean invIsBlocked(InventoryAdaptor inv) {
|
private static boolean invIsBlocked( InventoryAdaptor inv )
|
||||||
|
{
|
||||||
if( AEConfig.instance().isFeatureEnabled( AEFeature.INSANE_BLOCKING_MODE ) )
|
if( AEConfig.instance().isFeatureEnabled( AEFeature.INSANE_BLOCKING_MODE ) )
|
||||||
{
|
{
|
||||||
return !inv.simulateRemove( 1, ItemStack.EMPTY, null ).isEmpty();
|
return !inv.simulateRemove( 1, ItemStack.EMPTY, null ).isEmpty();
|
||||||
|
|||||||
Reference in New Issue
Block a user