Gestion du vanish dans la commande /list
This commit is contained in:
@@ -21,13 +21,11 @@ public class EssentialsInterface {
|
||||
try {
|
||||
Essentials ess = (Essentials)PandacraftUtils.getInstance().getServer().getPluginManager().getPlugin("Essentials");
|
||||
|
||||
|
||||
|
||||
return ess.getUser(p).canSee(hiddenP);
|
||||
} catch (Exception e) { }
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
public static boolean isPlayerMuted(Player p) {
|
||||
try {
|
||||
return ((Essentials)PandacraftUtils.getInstance().getServer().getPluginManager().getPlugin("Essentials")).getUser(p).isMuted();
|
||||
|
Reference in New Issue
Block a user