Forestry

Forestry

65M Downloads

NPE given when staging bees with crafttweaker/zenstager/gamestages.

gswindle76 opened this issue ยท 0 comments

commented

https://pastebin.com/hbCZuqYb

I am currently trying to stage bees for a mod pack and receive a NPE error when trying too via GameStages and ZenStager. here is the conversation I had with crafttweaker/zenstager dev.

EDIT: This also happens with

  • Cocoons
  • Caterpillars
  • Larvae
  • Serum
  • Butterflies ... Butterflys?

When you call the buildAll method on the ZenStager object, it immediately starts staging the items.
Among them is the bee.
For every item staged it will print a message to the chat using the item's display name.
For getting the item's display name, Forestry needs the bee's genom.
For getting the genom, it needs to load the NBT tag
For loading the genom from the tag it relies on Google's Cache functionality, and somewhere in there a Nullpointer Exception occurs.