LtxProgrammer / LtxProgrammer/Changed-Minecraft-Mod
Multiplayer signs break on load for clients
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 83
- フォーク
- 58
- 平均マージ
- 1日 16時間
- マージ済み PR(30日)
- 2
説明
Upon loading a Changed Wall Sign, clients break with
INDEXARRAYOUTOFBOUNDSEXCEPTION ARRAY INDEX 5 OUT OF 3
And I just thought through the error and I've come to some realizations.
You might be declaring these signs as SIGN ENTITIES, which breaks the handler for signs in vanilla.
It's not getting the messages field which is what breaks the handler.
You can instantiate a workaround fix by providing dummy fields which are empty, this would stop the crashes.
However, a complete fix would be overhauling the wall signs to instantiate them as PAINTING entities.
The client does NOT expect text to accompany these.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
ファイル、テスト、エントリーポイントは指定されていません。まず、クライアントのロード時に Changed Wall Signs がどのようにインスタンス化され、処理されるかを追跡し、次に sign-entity の経路と提案されている painting-entity のアプローチを比較します。完了条件は、マルチプレイヤーのクライアントが報告された配列境界例外なしでこれらのサインをロードできることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- game-dev
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 48/100