Tombenpotter / Sanguimancy

Sanguimancy: A Blood Magic addon
http://minecraft.curseforge.com/mc-mods/223722-sanguimancy
10 stars 17 forks source link

Use GameRegistry.findUniqueIdentifierFor().modId instead of finding ModContainer #81

Closed shadowfacts closed 9 years ago

shadowfacts commented 9 years ago

This prevents NPEs from being thrown extremely often during the tooltip event.

Also remove unnecessary/redundant call to RandomUtils.getItemOwner

Tombenpotter commented 9 years ago

Thaank you! :D

shadowfacts commented 9 years ago

No problem, I finally got annoyed enough by the all-too-often freezes to fix it :stuck_out_tongue:

hilburn commented 9 years ago

I have a question: why is in an event rather than part of the Sanguimancy Item?

Also GameRegistry.getUniqueIdentfier can return nulls