Players are Disconnected when recieving Death Message with Chat Open (incompatibility with Supplementaries)
まだ誰も着手していません。
評価
調査の方向性
Start with MinecraftClientMixin.java and ScreenEvents.remove, the locations named in the report, then inspect how the death packet is handled when chat is open alongside Supplementaries. Reproduce on Minecraft 1.21.1 with Forgified Fabric API and Supplementaries; done means dying with chat open no longer disconnects the player.
索引モデルが issue の本文から書いたものです。
説明
Minecraft version
1.21.1
Describe the bug
Dying with Chat Open Crashes Game
Steps to reproduce
- Play with the Forgified Fabric API.
- Install Supplementaries. I tested it without supplementaries and the error doesn't occur, but the error originates from the onScreenRemove function, which is likely not called by Supplementaries.
- Place yourself at a Y level high off the ground and die with chat open.
- Causes error upon the death packet being received:
[Server thread/INFO][net.minecraft.server.MinecraftServer/]: PlayerName fell from a high place
[Render thread/ERROR][net.minecraft.client.multiplayer.ClientCommonPacketListenerImpl/]: Failed to handle packet ClientboundPlayerCombatKillPacket[playerId=79, message=translation{key='death.fell.accident.generic', args=[empty[style={clickEvent=ClickEvent{action=SUGGEST_COMMAND, value='/tell PlayerName '},hoverEvent=TypedHoverEvent[action=<action show_entity>, value=net.minecraft.network.chat.HoverEvent$EntityTooltipInfo@aff16f4a],insertion=PlayerName}, siblings=[literal{PlayerName}]]]}]
java.lang.NullPointerException: Screen cannot be null
at java.base/java.util.Objects.requireNonNull(Objects.java:259) ~[?:?]
at TRANSFORMER/[email protected]+4228281319/net.fabricmc.fabric.api.client.screen.v1.ScreenEvents.remove(ScreenEvents.java:111) ~[fabric-screen-api-v1-2.0.25+4228281319.jar%23428!/:2.0.25+4228281319]
- Player is booted back to the multiplayer menu, even in singleplayer.
Logs
Additional context
This issue has already been reported to the Supplementaries developers and marked as not an issue on their end, then moved to this Forgified Fabric API issue, but judging by the comments saying that it is still an issue months after its fix I'm assuming issues here aren't reopened and a new one needs to be made.
- 主要言語
- Java
- スター
- 181
- フォーク
- 41
- 平均マージ
- 10日 5時間
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Sinytra/ForgifiedFabricAPI のほかの issue
-
Missing mixin in fabric-registry-sync-v0 suspected to break modded registry loading再び着手できるかも @Su5eD が 89 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン26.1.x bug
Sinytra/ForgifiedFabricAPI#280 · コメント 6 件 · 担当者 1 名 ·
-
1.21.x bug
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
Sinytra/ForgifiedFabricAPI#276 ·
-
1.21.x bug
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
Sinytra/ForgifiedFabricAPI#269 ·
-
1.21.x bug
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
Sinytra/ForgifiedFabricAPI#265 · コメント 6 件 ·
-
1.21.x bug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
Sinytra/ForgifiedFabricAPI#263 · コメント 2 件 ·
Sinytra/ForgifiedFabricAPI の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
openhab/openhab-addons#21921 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
objectionary/eo-graphs#85 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
objectionary/lints#1544 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
objectionary/hone-maven-plugin#1309 ·
メンテナーはふだん 1 日以内に返信
-
chore s3
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
メンテナーはふだん 1 日以内に返信