From 4a72085c2cbad2366fa0f3936f9276580f2b0cb7 Mon Sep 17 00:00:00 2001 From: Business Goose Date: Thu, 31 Mar 2022 03:34:11 +0100 Subject: [PATCH] Return if vanished. --- .../me/StevenLawson/TotalFreedomMod/listener/PlayerListener.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/me/StevenLawson/TotalFreedomMod/listener/PlayerListener.java b/src/main/java/me/StevenLawson/TotalFreedomMod/listener/PlayerListener.java index 3264248..4c90292 100644 --- a/src/main/java/me/StevenLawson/TotalFreedomMod/listener/PlayerListener.java +++ b/src/main/java/me/StevenLawson/TotalFreedomMod/listener/PlayerListener.java @@ -688,6 +688,7 @@ public class PlayerListener implements Listener { if (VanishManager.isVanished(player)) { event.setQuitMessage(null); VanishManager.unvanishPlayer(player); + return; } playerLeave(event.getPlayer());