actually fix it
This commit is contained in:
@@ -300,7 +300,6 @@ public abstract class AbstractPartMonitor extends AbstractPartDisplay implements
|
||||
|
||||
private <T extends IAEStack<T>> void updateReportingValue ( final IMEMonitor<T> monitor )
|
||||
{
|
||||
|
||||
if( this.configuredItem != null)
|
||||
{
|
||||
final IAEItemStack result = (IAEItemStack) monitor.getStorageList().findPrecise( (T) this.configuredItem );
|
||||
@@ -312,6 +311,7 @@ public abstract class AbstractPartMonitor extends AbstractPartDisplay implements
|
||||
{
|
||||
this.configuredAmount = result.getStackSize();
|
||||
}
|
||||
this.configuredItem.setStackSize( this.configuredAmount );
|
||||
}
|
||||
else if( this.configuredFluid != null)
|
||||
{
|
||||
@@ -324,6 +324,7 @@ public abstract class AbstractPartMonitor extends AbstractPartDisplay implements
|
||||
{
|
||||
this.configuredAmount = result.getStackSize();
|
||||
}
|
||||
this.configuredFluid.setStackSize( this.configuredAmount );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -141,11 +141,6 @@ public class PartConversionMonitor extends AbstractPartMonitor
|
||||
|
||||
//If its a fluid container, grab its fluidstack. if its empty pass its itemstack;
|
||||
|
||||
if( eq.isEmpty() )
|
||||
{
|
||||
return super.onPartActivate( player, hand, pos );
|
||||
}
|
||||
|
||||
if( fluidInTank != null && fluidInTank.amount > 0 )
|
||||
{
|
||||
if( getDisplayed() instanceof IAEItemStack || getDisplayed() == null )
|
||||
@@ -161,11 +156,11 @@ public class PartConversionMonitor extends AbstractPartMonitor
|
||||
return super.onPartActivate( player, hand, pos );
|
||||
}
|
||||
}
|
||||
else if( this.getDisplayed() != null && this.getDisplayed().equals( eq ) )
|
||||
else if( this.getDisplayed() != null && this.getDisplayed().equals( player.getHeldItem( hand ) ) )
|
||||
{
|
||||
this.insertItem( player, hand, false );
|
||||
}
|
||||
else
|
||||
else if( !player.getHeldItem( hand ).isEmpty() )
|
||||
{
|
||||
return super.onPartActivate( player, hand, pos );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user