This commit is contained in:
Anuken
2023-08-14 11:50:37 -04:00
parent ae6e74c24d
commit 11cd27fe1d
2 changed files with 2 additions and 2 deletions

View File

@@ -288,7 +288,7 @@ public class Fonts{
cy = (int)cy; cy = (int)cy;
originX = g.width/2f; originX = g.width/2f;
originY = g.height/2f; originY = g.height/2f;
Draw.rect(region, cx + g.width/2f, cy + g.height/2f, g.width, g.height, originX, originY, rotation); Draw.rect(region, cx + g.width/2f, cy + g.height/2f, g.width * scaleX, g.height * scaleY, originX, originY, rotation);
} }
@Override @Override

View File

@@ -115,7 +115,7 @@ public class ConsumeGenerator extends PowerGenerator{
liquids.add(outputLiquid.liquid, added); liquids.add(outputLiquid.liquid, added);
dumpLiquid(outputLiquid.liquid); dumpLiquid(outputLiquid.liquid);
if(explodeOnFull && liquids.get(outputLiquid.liquid) >= liquidCapacity - 0.0001f){ if(explodeOnFull && liquids.get(outputLiquid.liquid) >= liquidCapacity - 0.01f){
kill(); kill();
Events.fire(new GeneratorPressureExplodeEvent(this)); Events.fire(new GeneratorPressureExplodeEvent(this));
} }