mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 11:59:14 +00:00
fix smeltery acceleration and comparator output
This commit is contained in:
1 parent
69bb974420
commit
6ebbdf6bbc
2 files changed
+2
-2
No files matched your search
@@ -169,6 +169,7 @@ public class SmelteryDrainLogic extends MultiServantLogic implements IFluidHandl
|
||||
if (smeltery == null) return 0;
|
||||
|
||||
if (smeltery.maxLiquid == 0) return 0;
|
||||
return 15 * smeltery.currentLiquid / smeltery.maxLiquid;
|
||||
|
||||
return MathHelper.ceiling_float_int(15f * smeltery.currentLiquid / smeltery.maxLiquid);
|
||||
}
|
||||
}
|
||||
@@ -614,7 +614,6 @@ public class SmelteryLogic extends InventoryLogic implements IActiveLogic, IFaci
|
||||
@Override
|
||||
public void markDirty() {
|
||||
updateTemperatures();
|
||||
updateEntity();
|
||||
|
||||
super.markDirty();
|
||||
needsUpdate = true;
|
||||
|
||||
Reference in new issue
Block a user