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

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());