[Bug]: This lib causes "renderLabels" don't exist
FaeWulf opened this issue ยท 1 comments
Bug Description
My mod contains a Mixin Injection like this:
@ModifyExpressionValue(method = "renderLabels", at = @At(value = "CONSTANT", args = "intValue=40", ordinal = 0))
private int modifyLevelLimit(int original) {
if(ModConfigs.no_level_limit_anvil)
return Integer.MAX_VALUE;
else
return original;
}
And it will crash if you open an anvil.
The thing is, if I remove this mod from the game, that injection is success.
How to Reproduce?
Install my mod if needed: https://modrinth.com/mod/faewufs-diversity
Open the anvil
Expected Behavior
Open anvil should not crash the game.
Version
3.0.10
Mod Loader Version
0.16.0
Logs or additional context
Acknowledgement
- I agree that I read the terms at the top of the page.