mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-26 17:05:01 +00:00
Don't try to vanish/unvanish offline players...
(cherry picked from commit a03ecfd6f3248a6b4588db19549d4daf76952742)
This commit is contained in:
parent
00e5403491
commit
04029eb144
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user