Add afkcheck command

This commit is contained in:
len 2021-04-05 00:21:51 +02:00
parent 6dedc3e6cb
commit 738d5dcffc

View File

@ -44,7 +44,7 @@ public class AFKCheckCommand implements CommandExecutor, TabCompleter {
}
target.showTitle(Title.title(Component.text(Lang.AFKCHECKTITLE.toString(), NamedTextColor.RED),
Component.text(Lang.AFKCHECKSUBTITLE.toString(), NamedTextColor.RED)));
Bukkit.dispatchCommand(sender, "msg " + target + " " + Lang.AFKCHECKCMESSAGE.toString());
Bukkit.dispatchCommand(sender, "msg " + args[0] + " " + Lang.AFKCHECKCMESSAGE.toString());
return true;
}