gc toggle?

This commit is contained in:
len 2021-05-16 00:37:49 +02:00
parent 4d25f4e8cb
commit ffd9430a65

View File

@ -15,6 +15,10 @@ public class GlobalChat implements CommandExecutor {
return true;
}
Player player = (Player) sender;
if(args.length == 0) return false;
if(args[0].equalsIgnoreCase("toggle")) {
// todo is this how we want to toggle or use a /togglegc command? or /toggle chatoptions?
}
String message = StringUtils.join(args, " ", 0, args.length);
ChatPlugin.getInstance().getChatHandler().globalChat(player, message);
return false;