Skip to content
New issue

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

vanish状態のadminが退出した際にログアウトメッセージを送信しないように #59

Closed
m1sk9 opened this issue Jul 19, 2022 · 0 comments

Comments

@m1sk9
Copy link
Contributor

m1sk9 commented Jul 19, 2022

public static boolean isVanished(Player p) {
    Essentials essentials = (Essentials) Bukkit.getPluginManager().getPlugin("Essentials");
    if (essentials == null) return false;
    return essentials.getUser(p).isVanished();
}

上記判定を行うメソッドを作り、ログアウトメッセージを送信しないようにする

@m1sk9 m1sk9 self-assigned this Jul 19, 2022
@m1sk9 m1sk9 added this to the 2022 冬 milestone Jul 25, 2022
@m1sk9 m1sk9 linked a pull request Jul 28, 2022 that will close this issue
@m1sk9 m1sk9 removed their assignment Nov 18, 2022
@m1sk9 m1sk9 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant