item costs/ghost fixes
This commit is contained in:
@@ -238,7 +238,7 @@ public class CraftingTreeNode
|
||||
|
||||
if( available != null )
|
||||
{
|
||||
//this.bytes += available.getStackSize();
|
||||
this.bytes += available.getStackSize();
|
||||
l -= available.getStackSize();
|
||||
|
||||
if( l <= 0 )
|
||||
|
||||
@@ -240,7 +240,6 @@ public class CraftingTreeProcess
|
||||
final IAEItemStack o = out.copy();
|
||||
o.setStackSize( o.getStackSize() * i );
|
||||
inv.injectItems( o, Actionable.MODULATE, src );
|
||||
this.bytes += o.getStackSize();
|
||||
}
|
||||
this.crafts += i;
|
||||
}
|
||||
|
||||
@@ -248,6 +248,8 @@ public class GridStorageCache implements IStorageGrid
|
||||
}
|
||||
}
|
||||
|
||||
this.storageMonitors.forEach( ( channel, monitor ) -> monitor.forceUpdate() );
|
||||
|
||||
tracker.applyChanges();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user