mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-16 01:54:59 +00:00
fix fluid terminal crash
This commit is contained in:
1 parent
043c6a6cc2
commit
dd9d4df44b
2 files changed
+2
No files matched your search
@@ -23,5 +23,6 @@ dependencies {
|
||||
compileOnly('com.github.GTNewHorizons:EnderIO:2.3.1.29:dev') { transitive = false }
|
||||
compileOnly('com.github.GTNewHorizons:GTplusplus:1.7.49:dev') { transitive = false }
|
||||
|
||||
compileOnly('com.github.GTNewHorizons:KekzTech:0.6.22:dev')
|
||||
runtime('com.github.GTNewHorizons:Baubles:1.0.1.14:dev')
|
||||
}
|
||||
@@ -385,6 +385,7 @@ public class FCBaseFluidMonitorContain extends AEBaseContainer
|
||||
IAEFluidStack tmp = this.host
|
||||
.getFluidInventory()
|
||||
.extractItems(toExtract, Actionable.SIMULATE, this.getActionSource());
|
||||
if (tmp == null) continue;
|
||||
fillStack.right.stackSize = (int) (tmp.getStackSize() / fillStack.left);
|
||||
this.dropItem(fillStack.right);
|
||||
out.stackSize = fillStack.right.stackSize;
|
||||
|
||||
Reference in new issue
Block a user