Error thrown by Pneumaticraft Drones when checking Villager trades
BluSunrize opened this issue ยท 0 comments
Minecraft Version
1.18
Immersive Engineering Version
any
Expected Behavior
No issues
Actual Behavior
Issue thrown by me.desht.pneumaticcraft.common.amadron.AmadronOfferManager.getOfferForNullVillager
They call getOffer(Entity trader, Random rand)
with null for an entity, but we depend on it in EmeraldForItems
.
Our usecase: Getting the entity's level to access tags.
Suggested solution: Return empty ItemStack when we don't get a level (for the tag based results)
Steps to reproduce
Install Pneumaticraft I guess?
Debug Crash Log
https://cdn.discordapp.com/attachments/752308882969329684/1014843489340641350/message.txt