We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
今は、プレイヤーにclassを設定する実装は、cclassコマンド実装の中に埋め込まれており、プラグインの外から呼び出すことができない状態になっている。 そのため、ColorTeamingClassSign と実装が重複しており、メンテナンス性が良くない。 そこで、classをプレイヤーに適用するインターフェイスを用意して、外部プラグインから呼び出せるように調整する。
インターフェイス実装案
/** * 指定されたプレイヤーに指定されたクラスを設定する * @param player プレイヤー * @param classname クラス名 * @return クラス設定を実行したかどうか。 * 例えば、指定されたクラス名が存在しない場合や、指定されたプレイヤーがオフラインの場合は、falseになる。 */ public boolean setClassToPlayer(Player player, String classname);
The text was updated successfully, but these errors were encountered:
ColorTeaming v2.2.5 : Fixed issue #67
7529a99
Fixed 動作確認OK
Sorry, something went wrong.
ucchyocean
No branches or pull requests
今は、プレイヤーにclassを設定する実装は、cclassコマンド実装の中に埋め込まれており、プラグインの外から呼び出すことができない状態になっている。
そのため、ColorTeamingClassSign と実装が重複しており、メンテナンス性が良くない。
そこで、classをプレイヤーに適用するインターフェイスを用意して、外部プラグインから呼び出せるように調整する。
インターフェイス実装案
The text was updated successfully, but these errors were encountered: