Skip to content

Supplementaries [NeoForge] - Player Disconnected upon Death #259

@abb3v

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

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