Advanced Peripherals

Advanced Peripherals

29M Downloads

MeBridge:getItem() throws Java.NullPointerException if requested item is a crafting recipe with no stock

lephro opened this issue ยท 1 comments

commented

Descripe

Following situation:

Me Network:

  • 20x Sand
  • Crafting recipe for glass (but 0 glass)

getItem() will throw a Java.NullpointerException, if you request a fingerprint of a crafting recipe (in this example for the glass recipe), that has no stock in the network.

Steps to reproduce

  1. Create a me-network with a crafting recipe, but no items
  2. Call MeBridge.getItem, with the fingerprint of the crafting recipe
  3. Enjoy a Java.NullpointerException :P

Multiplayer?

Yes

Version

0.7.1r (Latest)

Minecraft, Forge and maybe other related mods versions

36.2.2

Screenshots or Videos

https://ibb.co/TkK6RpN

Crashlog/log

No response

commented

advancedperipherals-1.16.5-0.7.2r.zip

Hey, could you try this version
Unzip the file before using