Recipes opening crash (only with server)
Kibonik opened this issue · comments
https://pastebin.com/2GQBxYm8 client log
https://pastebin.com/KwK9xudn server log
If i open thaumonomicon, and try to see recipes, when i move cursor to recipe ingredients - crash.
Crash come only with recipes, where one item can be replaced to some else ( for example, any log).
In single - i have no problem. When i connect to my dedicated server - i have problem.
Using only thaumcraft mod - same problem
So!
It's not a client-server problem. It's another.
For example. I open fabric receipt. Here crash come with string . Usually, when i stop cursor on string - it show me small square with info:
String(id)
minecraft:string
Click for recipe
BUT! If i have no researched Hedge alchemy, so i can't see recipe for string, and i have "Screen render" crash.
I checked this with clear MC 1.12.2, last forge, last thaumcraft
lines 2028-2037
if (ref != null) {
String[] sr = ref.split(";", 2);
ResourceLocation res = new ResourceLocation(sr[0]);
if (res.func_110623_a().equals("UNKNOWN")) {
addtext.add(TextFormatting.DARK_RED + "" + TextFormatting.ITALIC + I18n.func_74838_a("recipe.unknown"));
} else {
addtext.add(TextFormatting.BLUE + "" + TextFormatting.ITALIC + I18n.func_74838_a("recipe.clickthrough"));
reference.add(Arrays.asList(new Comparable[] { Integer.valueOf(mx), Integer.valueOf(my), res, sr[1] }));
}
}
whatever, you know recepe or not - if (res.func_110623_a().equals("UNKNOWN")) is false