Don't assume Essentials is running.
This commit is contained in:
parent
962f92496c
commit
77e3fd90b4
@ -38,6 +38,9 @@ public class Essentials {
|
||||
}
|
||||
|
||||
public static boolean isVanished(Player player) {
|
||||
if(essentials == null) {
|
||||
return false;
|
||||
}
|
||||
return essentials.getUser(player).isVanished();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user