diff --git a/src/main/java/com/gmail/nossr50/util/commands/CommandUtils.java b/src/main/java/com/gmail/nossr50/util/commands/CommandUtils.java index f35802294..7e2b7dde8 100644 --- a/src/main/java/com/gmail/nossr50/util/commands/CommandUtils.java +++ b/src/main/java/com/gmail/nossr50/util/commands/CommandUtils.java @@ -90,6 +90,10 @@ public final class CommandUtils { */ public static boolean checkPlayerExistence(CommandSender sender, String playerName, McMMOPlayer mcMMOPlayer) { if (mcMMOPlayer != null) { + if (CommandUtils.hidden(sender, mcMMOPlayer.getPlayer(), false)) { + sender.sendMessage(LocaleLoader.getString("Commands.Offline")); + return false; + } return true; }