mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-20 20:22:35 +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
@@ -4,6 +4,7 @@ import binnie.Constants;
|
||||
import binnie.core.models.ModelManager;
|
||||
import binnie.core.resource.BinnieResource;
|
||||
import binnie.craftgui.resource.minecraft.CraftGUIResourceManager;
|
||||
import com.google.common.base.Throwables;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
|
||||
@@ -162,7 +163,8 @@ public final class BinnieProxyClient extends BinnieProxy implements IBinnieProxy
|
||||
if (rendererClass != null) {
|
||||
object = rendererClass.newInstance();
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
} catch (IllegalAccessException | InstantiationException | ClassNotFoundException e) {
|
||||
throw Throwables.propagate(e);
|
||||
}
|
||||
return object;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user