mkalam-alami/inventory-tweaks — Issue #194: Better error handling on classcasts (for mod compat.)
Author: mkalam-alami
Created: 2012-01-11 14:20:04+00:00
State: open
Labels: Improvement, Next release

```
Minecraft: Minecraft 1.0.0
OS: Windows 7 (amd64) version 6.1
Java: 1.7.0_01, Oracle Corporation
VM: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
LWJGL: 2.4.2
OpenGL: GeForce GTX 460/PCI/SSE2 version 4.2.0, NVIDIA Corporation

java.lang.ClassCastException: net.eq2online.src.gui.controls.GuiScrollBar2 cannot be cast to InvTweaksObfuscationGuiButton
at InvTweaks.handleGUILayout(InvTweaks.java:517)
at InvTweaks.onTickInGUI(InvTweaks.java:238)
at mod_InvTweaks.OnTickInGUI(mod_InvTweaks.java:66)
at ModLoader.OnTick(ModLoader.java:1129)
at EntityRendererProxy.b(EntityRendererProxy.java:16)
at net.minecraft.client.Minecraft.x(SourceFile:738)
at net.minecraft.client.Minecraft.run(SourceFile:658)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT 2736b908 ----------
```