Mod loads just fine, but attempting to use x-ray in single player or SMP results in a crash with the following console output
Code:
java.lang.NullPointerException
at mod_cjb_main.enablelight(mod_cjb_main.java:98)
at mod_cjb_main.onTickInGame(mod_cjb_main.java:75)
at ModLoader.onTick(ModLoader.java:1102)
at EntityRendererProxy.b(EntityRendererProxy.java:22)
at net.minecraft.client.Minecraft.x(SourceFile:752)
at net.minecraft.client.Minecraft.run(SourceFile:671)
at java.lang.Thread.run(Thread.java:722)
Stopping!
Exception in thread "Minecraft main thread" org.lwjgl.LWJGLException: X Error - disp: 0x7f49640db980 serial: 4495 error: BadWindow (invalid Window parameter) request_code: 2 minor_code: 0
at org.lwjgl.opengl.LinuxDisplay.globalErrorHandler(LinuxDisplay.java:316)
at org.lwjgl.opengl.LinuxKeyboard.nSetDetectableKeyRepeat(Native Method)
at org.lwjgl.opengl.LinuxKeyboard.setDetectableKeyRepeat(LinuxKeyboard.java:152)
at org.lwjgl.opengl.LinuxKeyboard.destroy(LinuxKeyboard.java:163)
at org.lwjgl.opengl.LinuxDisplay.destroyKeyboard(LinuxDisplay.java:1190)
at org.lwjgl.input.Keyboard.destroy(Keyboard.java:349)
at net.minecraft.client.Minecraft.d(SourceFile:525)
at net.minecraft.client.Minecraft.run(SourceFile:688)
at java.lang.Thread.run(Thread.java:722)
I'll try and figure out the CJB debug script. I'm not familiar enough with Minecraft or lwjgl to understand what went wrong here