mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-23 13:39:44 +00:00
Stop suppressing exceptions that may be important
This commit is contained in:
1 parent
163abc377e
commit
7c048de845
33 files changed
+111
-186
No files matched your search
@@ -1,5 +1,6 @@
|
||||
package binnie.extratrees.machines;
|
||||
|
||||
import com.google.common.base.Throwables;
|
||||
import forestry.core.render.TankRenderInfo;
|
||||
import net.minecraft.util.EnumFacing;
|
||||
|
||||
@@ -19,7 +20,7 @@ public class MachineRendererForestry {
|
||||
MachineRendererForestry.renderMethod.setAccessible(true);
|
||||
MachineRendererForestry.instances.put(file, instance);
|
||||
} catch (Exception ex) {
|
||||
// ex.printStackTrace();
|
||||
throw Throwables.propagate(ex);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,7 +31,7 @@ public class MachineRendererForestry {
|
||||
try {
|
||||
MachineRendererForestry.renderMethod.invoke(MachineRendererForestry.instances.get(name), TankRenderInfo.EMPTY, TankRenderInfo.EMPTY, EnumFacing.UP, x, y, z);
|
||||
} catch (Exception ex) {
|
||||
// ex.printStackTrace();
|
||||
throw Throwables.propagate(ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user