hypherionmc / hypherionmc/MoreCreativeTabs

[BUG] Random crash because of a "duplicate position"

Open
#24 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
5
Forks
4
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Sometimes the game will crash if MoreCreativeTabs is present (using the updated 1.3.0 snapshot) seemingly because the inject validation fails and a custom tab is in the same position as a vanilla tab. Once this happens a single time, the game will permanently crash while loading until MoreCreativeTabs is removed.

**To Reproduce**
Unsure, the crash seems to happen at a random point

**Expected behavior**
The inject validation should not fail and the creative tabs should work as normal.

**Versions**
- Minecraft Version:
- Modloader
- [x] Forge
- [ ] Fabric
- [ ] Quilt
- Mod Loader Version: 47.3.0
- Mod Version: 1.3.0+snapshot.1

**Crash Report**
[crash-2024-09-18_14.34.41-client.txt](https://github.com/user-attachments/files/17050078/crash-2024-09-18_14.34.41-client.txt)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the attached crash report, crash-2024-09-18_14.34.41-client.txt, and trace the inject validation involved in creative-tab loading under Forge 47.3.0. Determine why a custom tab can receive the same position as a vanilla tab and verify that loading no longer crashes or leaves the game permanently unable to start.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.