Crash when trying to combine non-botania cosmetics
yrsegal opened this issue · 11 comments
If either the ICosmeticAttachable or the ICosmeticBauble aren't ItemBauble, crash. ¯_(ツ)_/¯
The weird part is, it's a rendering crash.
Caused by: java.lang.NullPointerException
at net.minecraft.client.renderer.RenderItem.renderItemOverlayIntoGUI(RenderItem.java:425) ~[RenderItem.class:?]
at net.minecraft.client.gui.inventory.GuiContainer.drawSlot(GuiContainer.java:319) ~[GuiContainer.class:?]
at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:118) ~[GuiContainer.class:?]
at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:62) ~[InventoryEffectRenderer.class:?]
at net.minecraft.client.gui.inventory.GuiInventory.drawScreen(GuiInventory.java:82) ~[GuiInventory.class:?]
at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:313) ~[ForgeHooksClient.class:?]
at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1147) ~[EntityRenderer.class:?]
to reproduce, build https://github.com/yrsegal/NaturalPledge from source.
I have no idea where this is coming from, if you could track it down in your mod that'd be great
I don't know, either. There's nothing about Natural Pledge or Botania in the crashlog, yet it only happens with them.