mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-12-23 02:24:58 +00:00
Return if vanished.
This commit is contained in:
parent
c4e6ecaea1
commit
4a72085c2c
1 changed files with 1 additions and 0 deletions
|
@ -688,6 +688,7 @@ public class PlayerListener implements Listener {
|
||||||
if (VanishManager.isVanished(player)) {
|
if (VanishManager.isVanished(player)) {
|
||||||
event.setQuitMessage(null);
|
event.setQuitMessage(null);
|
||||||
VanishManager.unvanishPlayer(player);
|
VanishManager.unvanishPlayer(player);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
playerLeave(event.getPlayer());
|
playerLeave(event.getPlayer());
|
||||||
|
|
Loading…
Reference in a new issue