Mixin crashing with new versions of TreeChop
hammertater opened this issue ยท 4 comments
Minecraft Version
1.19.x
Mod Loader Version
NA
Mod Version
NA
Describe the Issue
Crash at startup when using both JobsAddon and TreeChop 0.18.3(+). Reported to me in hammertater/treechop#216. The root cause is a mixin for an internal TreeChop class that has changed in a recent update, same problem as described in Globox1997/LevelZ#191. I only glanced at your code, but I think the TreeChop event AFTER_CHOP (https://github.com/hammertater/treechop/blob/main/fabric/src/main/java/ht/treechop/api/TreeChopEvents.java) should work for your compatibility. I'd be happy to help if anything isn't clear, or if the API needs to be expanded
The problem was reported for Minecraft 1.19.2, but I expect it'll also crash for 1.20.
latest.log
See the crash log in hammertater/treechop#216
Do you use any other mods except the required ones?
No response
hey hammertater,
thanks for the info.
AFTER_CHOP event does not provide which blocks got chopped right?
cause the xp in jobsaddon is calculated by which block id got broken by the player
Fixed with fc45161