Fixed #8935
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user