Globox1997 / RpgDifficulty

https://modrinth.com/mod/rpgdifficulty
https://www.curseforge.com/minecraft/mc-mods/rpgdifficulty
MIT License
5 stars 6 forks source link

1.19 fix null pointers when strengthening unknown mobs #40

Closed andrei-pham closed 1 year ago

andrei-pham commented 1 year ago

Hello @Globox1997!

Just adding a small guard against accessing the default attributes, since it's sometimes crashing when encountering mobs of unknown types (such as those added by other mods), after the latest update.

Let me know what you think

Globox1997 commented 1 year ago

Hi arpds, this looks great, thanks for your work :)