Fix vanish player update
There's still no message on vanish so it can be figured out from the chat history
This commit is contained in:
parent
50cc0c8e61
commit
b484fe6f64
1 changed files with 2 additions and 1 deletions
|
@ -183,6 +183,7 @@ class MCListener implements Listener {
|
||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
public void onVanish(VanishStatusChangeEvent event) {
|
public void onVanish(VanishStatusChangeEvent event) {
|
||||||
MCChatUtils.updatePlayerList();
|
if (event.isCancelled()) return;
|
||||||
|
Bukkit.getScheduler().runTask(DiscordPlugin.plugin, MCChatUtils::updatePlayerList);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue