@@ -77,7 +77,7 @@ public static boolean helpSubCommands(
7777 ) {
7878 final boolean other = member == null || nation == null || !nation .id .equals (member .nationID );
7979
80- final @ NotNull String command = "/" + label + (other && nation != null ? " id:" + nation .id : "" );
80+ final @ NotNull String command = label + (other && nation != null ? " id:" + nation .id : "" );
8181 final @ NotNull TextComponent .Builder subCommandBuilder = Component .text ()
8282 .append (SMPCore .messages ()
8383 .subCommandHeader (
@@ -122,15 +122,15 @@ public static boolean citizens(
122122 return sendMessage (sender , SMPCore .messages ().errorNotCitizen ());
123123
124124 if (args .length == 0 )
125- return citizensSubcommands (member , nation , sender , "/" + label );
125+ return citizensSubcommands (member , nation , sender , label );
126126 final @ NotNull String command = label + " " + args [0 ];
127127 final @ NotNull String @ NotNull [] argsSubset = Arrays .copyOfRange (args , 1 , args .length );
128128 return switch (args [0 ]) {
129129 case "list" , "show" , "get" -> listCitizens (member , nation , sender );
130130 case "kick" , "remove" , "delete" , "rm" , "del" -> kickCitizen (member , nation , sender , command , argsSubset );
131131 case "invite" , "request" , "req" -> inviteCitizen (member , nation , sender , command , argsSubset );
132132 case "add" -> addCitizen (member , nation , sender , command , argsSubset );
133- default -> citizensSubcommands (member , nation , sender , "/" + label );
133+ default -> citizensSubcommands (member , nation , sender , label );
134134 };
135135 }
136136
0 commit comments