Skip to content

[Bug] #48

Description

@DIOGOATOMICO

Description

Game crashes during client tick initialization when using cbbees-1.3.3 on NeoForge 1.21.1.

The crash appears to happen because the mod tries to access a configuration value before the config has been loaded.

Crash message:
java.lang.IllegalStateException: Cannot get config value before config is loaded.

The stack trace points to:
com.cbbees.client.BeeTargetLineHandler.onClientTick

There are also OpenGL shader compatibility warnings related to Intel HD Graphics 2500, but those do not appear to be the direct cause of this crash.


Steps to Reproduce

  1. Install NeoForge 1.21.1
  2. Add cbbees-1.3.3 to the mods folder
  3. Launch the game
  4. Reach the main menu or enter a world
  5. Game crashes during client tick handling

Expected Behavior

The game may not start normally, freezing during client update events.

Actual Behavior

The game crashes with:

java.lang.IllegalStateException: Cannot get config value before config is loaded.

[crash-2026-05-20_18.25.10-client.txt](https://github.com/user-attachments/files/28074604/crash-2026-05-20_18.25.10-client.txt)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions