Return if vanished.

This commit is contained in:
Business Goose 2022-03-31 03:34:11 +01:00
parent c4e6ecaea1
commit 4a72085c2c
No known key found for this signature in database
GPG Key ID: 77DCA801362E9645
1 changed files with 1 additions and 0 deletions

View File

@ -688,6 +688,7 @@ public class PlayerListener implements Listener {
if (VanishManager.isVanished(player)) {
event.setQuitMessage(null);
VanishManager.unvanishPlayer(player);
return;
}
playerLeave(event.getPlayer());