tr7zw
tr7zw
Looks like that stacktrace is cut off? Also you are not filtering empty/null itemstacks, that might be the cause. Then I'll add a fitting error message.
Empty items in old versions is null, in newer versions its an AIR item with amount 0.
And getConents gives a full array of the slots of that inventory, including empty slots so when setting an inventory to the content of another inventory, the empty slots are...
FYI you can also just use NBT.itemStackArrayToNBT(itemStacks) to just convert the entire inventory contents array into nbt.
Hm that pr also replaces the gradle script with a later iteration if I gathered it correctly. Will have to check that a bit since the 1.7.10 port wasn't made...
I've looked into it, but this will be really tricky and slow. The event needs stuff like the renderState, which doesn't exist since EntityCulling is skipping the rendering, so a...
I mean, they are both my mods, so I sure hope they work together^^. No clue if this can be hidden. This might be a result from the 2 mods...
I guess this isn't even needed for this mod, might just nuke it in the next update to simplify the codebase, also fixing the "issue" in older mc versions.
1.12 is not a supported version, also provide a crash log.
I mean 1.12.2 with that. Only 1.16 > gets updates/fixes usually. It should at a minimum generate a latest.log.