5zig-reborn / 5zig-reborn/The-5zig-Mod

Crash When i type in chat in hypixel.

Open
#105 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
111
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Submitter: AspectOfTheDragon
So when i join Hypixel, i can do everything fine until i type in chat. When i type in chat i instantly freeze and then crash
With this log
[19:59:36] [Client thread/ERROR] [5zig]: Could not fetch Hypixel friends
eu.the5zig.mod.server.hypixel.api.HypixelAPIMissingKeyException
at eu.the5zig.mod.server.hypixel.api.HypixelAPIManager.getKey(HypixelAPIManager.java:161) ~[HypixelAPIManager.class:?]
at eu.the5zig.mod.server.hypixel.api.HypixelAPIManager.get(HypixelAPIManager.java:112) ~[HypixelAPIManager.class:?]
at eu.the5zig.mod.server.hypixel.api.HypixelAPIManager.checkFriendSuggestions(HypixelAPIManager.java:174) [HypixelAPIManager.class:?]
at eu.the5zig.mod.server.hypixel.HypixelListener.onServerConnect(HypixelListener.java:90) [HypixelListener.class:?]
I don't know how to fix this.

Contributor guide

No contributing guide indexed for this repository

Research direction

The crash occurs in HypixelAPIManager.java at line 161 where a missing API key exception is thrown. Start by examining the HypixelListener.onServerConnect method at line 90 to understand the flow. Check how the API key is fetched and why it might be missing when typing in chat. Run the mod on Hypixel to reproduce the issue and see if the key retrieval logic needs to be adjusted or if there's a timing issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.