You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Repro steps on my pack: Put an iron sword (unsure what enchants were on it) in the Disenchanter. Game crashes.
Pretty sure this crash isn't explicitly DE's fault (more likely a bad mod interaction with something changing how enchantments work), but looking through the source I can see that the DisenchanterGui is unsafely handling a potential null within DisenchanterGui.populateList. getEnchantmentFromTag can return null, which is then immediately passed into getCostInLevels which blows up, unlike other handling with the same file.
I'm going to keep digging on my side to see which of the mods is causing a null Enchantment to be returned, but a potential fix on the DE side would be to validate the return of getEnchantmentFromTag as non-null before allowing an item to be placed in the Disenchanter.
Thanks!
The text was updated successfully, but these errors were encountered:
Base information
Crash report
https://pastebin.com/P4PWVHe9
Description / steps to reproduce
Repro steps on my pack: Put an iron sword (unsure what enchants were on it) in the Disenchanter. Game crashes.
Pretty sure this crash isn't explicitly DE's fault (more likely a bad mod interaction with something changing how enchantments work), but looking through the source I can see that the DisenchanterGui is unsafely handling a potential null within DisenchanterGui.populateList. getEnchantmentFromTag can return null, which is then immediately passed into getCostInLevels which blows up, unlike other handling with the same file.
I'm going to keep digging on my side to see which of the mods is causing a null Enchantment to be returned, but a potential fix on the DE side would be to validate the return of getEnchantmentFromTag as non-null before allowing an item to be placed in the Disenchanter.
Thanks!
The text was updated successfully, but these errors were encountered: