Don't try to vanish/unvanish offline players...

(cherry picked from commit a03ecfd6f3248a6b4588db19549d4daf76952742)
This commit is contained in:
Luna 2023-06-19 15:56:19 -03:00 committed by Allink
parent 00e5403491
commit 04029eb144
No known key found for this signature in database

View File

@ -129,7 +129,7 @@ public class EssentialsBridge extends FreedomService
try try
{ {
User user = getEssentialsUser(username); User user = getEssentialsUser(username);
if (user != null) if (user != null && user.getBase().isOnline())
{ {
user.setVanished(vanished); user.setVanished(vanished);
} }