Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Issue with disabling Perspective

オープン
#19 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java
領域
api, backend

調査の方向性

LabyModPlayerJoinEvent ハンドラーと、再現手順に示されている LabyModPlayer API、特に disableAddons("betterperspective") と BetterPerspectivePlayer.denyUnlockCamera() から始めてください。プレイヤーが別のサーバーから参加したときに、Perspective の状態がどのように処理されるかを追跡してください。別の場所で以前に有効化されていた場合でも、このサーバー上で Perspective モードが無効になることが完了条件です。

索引モデルが issue の本文から書いたものです。

説明

bug pending
General Troubleshooting
  • I am using the latest version of the LabyMod 4 Server API.
  • I am using the latest version of LabyMod.
  • I have checked for similar issues on the Issue-tracker.
  • I have checked for Pull Requests that might already address this issue.
Platforms

Velocity

Affected Minecraft Version(s)

1.21.x

Expected Behaviour

Perspective mode should be disabled even if it was enabled on a another server.

Code Example for Reproduction Steps
@Subscribe
	public void onLabyPlayerJoin(LabyModPlayerJoinEvent e) {
		// Both of these cause the issue.
		//e.labyModPlayer().disableAddons("betterperspective");
		BetterPerspectivePlayer betterPerspectivePlayer = e.labyModPlayer().getIntegrationPlayer(BetterPerspectivePlayer.class);
		betterPerspectivePlayer.denyUnlockCamera();
	}
Exception or Error
N/A
Additional Information

Perspective stays enabled on servers where it should be disabled if it was enabled before.

主要言語
Java
スター
12
フォーク
3
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

LabyMod/labymod4-server-api のほかの issue

LabyMod/labymod4-server-api の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。