
[1.21.1] Accessories [neoforge] - Beta 32~33 updating causes erro mod load.
D-H-A-V-Y opened this issue ยท 3 comments
I also had this issue, and from my investigations it seems to be related to AccessoriesRendererRegistry#registerNoRenderer
where it runs AccessoriesRendererRegistry#registerRenderer with a supplier always returning null, said supplier is somehow resued (probably due to optimizations) whilst the registry expects all suppliers to have a unique address.
public static void registerNoRenderer(Item item) {
registerRenderer(item, () -> null /* this supplier is reused for every call */);
}
I understand the problem and already have the fix planned, the switch of the code was required to get more information during erroring of the renderers. My bad was assuming that null or empty rendering would not be effected but I have a fix to just stop allowing null and instead switch to a specific class to check against.
@D-H-A-V-Y @axel-lord An update was pushed that should fix the issue.