From 1cfa6359e8c7dbae8ac7890ac7d8e1b48152c40e Mon Sep 17 00:00:00 2001 From: zOnlyKroks Date: Wed, 29 Dec 2021 10:38:05 +0100 Subject: [PATCH] Formatting --- src/de/steamwar/bungeecore/commands/PlaytimeCommand.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/de/steamwar/bungeecore/commands/PlaytimeCommand.java b/src/de/steamwar/bungeecore/commands/PlaytimeCommand.java index 0aaca7c9..f705790e 100644 --- a/src/de/steamwar/bungeecore/commands/PlaytimeCommand.java +++ b/src/de/steamwar/bungeecore/commands/PlaytimeCommand.java @@ -34,6 +34,7 @@ public class PlaytimeCommand extends BasicCommand{ @Override public void execute(CommandSender sender, String[] strings) { + if(!(sender instanceof ProxiedPlayer)) return;