Skip to content

Supplementaries [NeoForge] - Player Disconnected upon Death #259

Closed

Description

@abb3v

Minecraft version

1.21.1

Describe the bug

When a player dies while the chat is open, the client disconnects with a NullPointerException: Screen cannot be null originating from Forgified Fabric API's ScreenEvents.remove(). The crash is triggered through Supplementaries' ClientPacketListenerMixin injecting into handlePlayerCombatKill.

Steps to reproduce

  1. Install the three mods listed. Forgified Fabric API is installed directly.
  2. Join a world or server.
  3. Die while the chat is open.

Logs

https://gist.github.com/abb3v/7fb0a55ec21f99d9ae1193605f99cad1

Additional context

Using the setup:

Field Value
Minecraft 1.21.1
Loader NeoForge 21.1.219
Supplementaries 1.21-3.5.19 (NeoForge native version)
Moonlight Lib 1.21-2.29.16
Forgified Fabric API 0.116.7+2.2.3+1.21.1

Connector is not needed for this bug

Activity

  1. self-assigned this
    on Feb 21, 2026
  2. added a commit that references this issue on Mar 8, 2026
    0ae1214
  3. electricsteve commented on Apr 21, 2026

    @electricsteve

    It is somehow still happening to me and my friends. I'm debugging rn

  4. electricsteve commented on Apr 21, 2026

    @electricsteve

    It is somehow still happening to me and my friends. I'm debugging rn

    EDIT: can't figure it out...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions