remove try catch for #117

This commit is contained in:
maggi373 committed 2023-05-25 21:25:05 +02:00
1 parent db80669227
commit 0494164530
1 file changed
+1 -6
@@ -52,12 +52,7 @@ public class RenderThermalEvaporationController extends TileEntitySpecialRendere
MekanismRenderer.glowOn(tileEntity.inputTank.getFluid().getFluid().getLuminosity());
DisplayInteger[] displayList = getListAndRender(data, tileEntity.inputTank.getFluid().getFluid());
try {
displayList[(int) (((float) tileEntity.inputTank.getFluidAmount() / tileEntity.inputTank.getCapacity()) * ((float) getStages(data.height) - 1))].render();
} catch (Exception e) {
System.out.print("\nThermal Evaporation Controller Render Error\n" + e + tileEntity.inputTank.getFluidAmount() + " v "+ tileEntity.inputTank.getCapacity());
}
displayList[(int) (((float) tileEntity.inputTank.getFluidAmount() / tileEntity.inputTank.getCapacity()) * ((float) getStages(data.height) - 1))].render();
MekanismRenderer.glowOff();