fix smeltery acceleration and comparator output

This commit is contained in:
Dennis committed 2023-05-19 01:36:14 +03:00
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;