Villagers Trades with Air on tagged offers when passed null entity
pietro-lopes opened this issue ยท 0 comments
Minecraft Version
1.21.1
Immersive Engineering Version
12.0.0-182
Expected Behavior
This function should at least try to get registryAccess from server if level is null.
Actual Behavior
PneumaticCraft AmadronOfferManager calls offer with a null entity and causes tags to not be resolved.
https://github.com/TeamPneumatic/pnc-repressurized/blob/7d0872ed4abcd612081cbab06658df9c92108950/src/main/java/me/desht/pneumaticcraft/common/amadron/AmadronOfferManager.java#L349-L358
Steps to reproduce
- Install IE with PneumaticCraft
- Try to get a Machinist to trade
- Coal Coke (which uses
#c:coal_coke
) will be air
Debug Crash Log
no log needed