Advanced XRay (Neoforge Edition)

Advanced XRay (Neoforge Edition)

5M Downloads

Crashes when adding blocks

TheDarkLordZ10 opened this issue ยท 10 comments

commented

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. open xray GUI
  2. Click on "add block" (not hand or looking at)
  3. scroll or type
  4. Game crashes

Expected behavior
To be able to add a block to the xray list using the gui

Screenshots
N/A

Minecraft Enviorment

  • Minecraft Version: 1.12.2
  • XRay Mod Version: 1.12.2-1.5.0
  • Forge Version: 14.23.4.2739

Additional context
Tried multiple times and got the same crash.
Pastebin Crash Report

commented

Thanks for the report. I'm looking to fix this. Please download the config from #76 in my first comment back. Could you confirm if this fixes it?

commented

It only happens in Enigmatica 2 Expert, i dont crash with any other pack (as far as i know)

commented

This has not fixed it, i tried that before uploading the issue just in case it worked

commented

Sorry, I read the error wrong. Looks like you are using a pack, could you let me know which pack because the error being called is being called because one of the blocks appears to not have a display name which all of them should have! Damn modders :P

commented

Enigmatica 2 Expert

commented

i think i know what mod crashed it, Recurrent complex, when i scroll down it crashed when i got to that mod, but it gave a different crashlog
2nd Crash Log

commented

thanks :)

commented

I am having the same issue with a custom mod pack. The stack trace shows it crashing at com.xray.common.reference.OreInfo.getDisplayName(OreInfo.java:91) but I don't see anything in the crash dump that shows which block does not have a display name. Is there any way to track that down?

commented

Only through added a tighter exception to the list. I'll add a custom logger to allow people to see who hasn't set it.

commented

Should be fixed now. #85