mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 06:42:56 +00:00
remove try catch for #117
This commit is contained in:
1 file changed
+1
-6
+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();
|
||||
|
||||
Reference in new issue
Block a user