Don't assume Essentials is running.

This commit is contained in:
drtshock 2014-11-07 12:38:45 -06:00
parent 962f92496c
commit 77e3fd90b4

View File

@ -38,6 +38,9 @@ public class Essentials {
} }
public static boolean isVanished(Player player) { public static boolean isVanished(Player player) {
if(essentials == null) {
return false;
}
return essentials.getUser(player).isVanished(); return essentials.getUser(player).isVanished();
} }
} }