-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Building Gadgets version
3.13.2
Minecraft Version
1.18.2
Forge Version
40.2.17
Modpack & Version
Multiblock Maddness 2 0.7.1
Do you have optifine installed?
No
Describe the issue
Game crashed randomly.
Steps to reproduce
- Playing in a single player world.
- Had 2 Building Gadgets inside a backpack from Sophisticated Backpacks, equiped in back slot from curios.
- No action related to Building Gadgets.
- Unable to reproduce at will.
Happened 2 times in a span of 3 weeks, so not very common, but it means I'm not that crazy.
Expected behaviour
Game should not crash.
Screenshots
No response
Log files
Additional information
Reporting just in case it's helpful. Looks like EventRenderWorldLast.RenderLevelLastEvent is triggered incorrectly.
BuildingGadgets/src/main/java/com/direwolf20/buildinggadgets/client/events/EventRenderWorldLast.java
Line 30 in cedd338
| ((AbstractGadget) heldItem.getItem()).getRender().render(evt, player, heldItem); |
Adding a type check before this line should prevent the crash, but real issue is probably somewhere else.
Information
- I have provided as much information as possible
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working