DragonsPlusMinecraft / CreateEnchantmentIndustry

An add-on for Create, providing enchanting & experience related automation.
https://modrinth.com/mod/create-enchantment-industry
MIT License
45 stars 41 forks source link

Disenchanter causes client crash #123

Closed PixelBreeze closed 1 year ago

PixelBreeze commented 1 year ago

Minecraft Version

1.20.1

Describe the Bug

When disenchanting items client crashes, it happens usually after a few disenchantments have been made, but I cannot clearly see what causes it and it seems like the first 6-10 items work and then crashes the client. It could be some enchantment, but the error seems to be related to rendering the disenchanted item after or right before the disenchantment.

ATM 9 server, but server reports no issue, all players in render distance of items crash. Also seems like if the player is out of dropped item range the crash does not happen.

Description: Rendering Block Entity error: java.lang.NullPointerException: Cannot invoke "Object.hashCode()" because "pk" is null at java.util.ImmutableCollections$MapN.probe(ImmutableCollections.java:1321) ~[?:?] {} at java.util.ImmutableCollections$MapN.get(ImmutableCollections.java:1235) ~[?:?] {} at net.minecraft.client.renderer.texture.TextureAtlas.m118316(TextureAtlas.java:126) ~[client-1.20.1-20230612.114412-srg.jar%23892!/:?]

Reproduction Steps

  1. Belt feeds items to Disenchanter from a mob grinder;
  2. Disenchanter disenchants the item; 3.The Item gets thrown off;
  3. MC Client immediately crashes for all players nearby rendering the items being disenchanted.

Expected Result

No client crash.

Screenshots and Videos

No response

Crash Report or Log

https://pastebin.com/KguZCV7A

Other Mods

ATM 9

Mod Version

create_enchantment_industry-1.20.1

Forge Version

No response