RLCraftImprovedBackpacks-1.12.2-1.0.13.jar
Curse Maven Snippet
What's new
[1.0.13] - 2026-05-29
- Fixed server-side crash (player kick) when auto-sort fired with an integrated
arrow quiver (or any item from a mod-added creative tab) inside the backpack.
Root cause: BackpackSorter.tabPriority called tab.getIndex() which reobfuscates
to func_78021_a(); certain mod CreativeTabs subclasses don't expose that method
at runtime → NoSuchMethodError. The existing try/catch missed it because
NoSuchMethodError is an Error, not an Exception.
Fix: replaced tab.getIndex() with a linear search through the static
CreativeTabs.CREATIVE_TAB_ARRAY — no method calls on the instance, immune to
obfuscation mismatches in third-party tabs. Changed catch(Exception) to
catch(Throwable) as additional defense.
This mod has no additional files

