squeek502 / SpiceOfLife

A Minecraft mod that encourages dietary variety through diminishing returns
The Unlicense
23 stars 26 forks source link

fix NPE crash #153

Closed shadoxxhd closed 6 years ago

shadoxxhd commented 6 years ago

added null pointer check

squeek502 commented 6 years ago

Thanks. Any info on how the NPE can be triggered?

shadoxxhd commented 6 years ago

@squeek502 the inclusion of underscoreless languages by mojang broke forges language loader, leading to getCurrentLanguage returning null. Since forge fixed its loader and someone changed asset deployment to somehow unbreak older forge versions, this isn't a priority change anymore.

squeek502 commented 6 years ago

Ah, ok, thanks! :+1: