Don't allow vanished players to block others from teleporting. Fixes #111.

This commit is contained in:
drtshock
2014-11-07 12:08:57 -06:00
parent 8b64b4bfe1
commit 962f92496c
5 changed files with 13 additions and 2 deletions

View File

@@ -36,4 +36,8 @@ public class Essentials {
}
return true;
}
public static boolean isVanished(Player player) {
return essentials.getUser(player).isVanished();
}
}