mirror of
https://github.com/ME1312/SubServers-2.git
synced 2024-11-22 10:15:52 +01:00
Fix slight lang issue
This commit is contained in:
parent
4aa943953f
commit
a7e9185ce4
@ -395,7 +395,7 @@ public final class SubCommand implements CommandExecutor {
|
||||
i++;
|
||||
}
|
||||
if (i == 0) sender.sendMessage(Text.of(" " + plugin.api.getLang("SubServers", "Command.List.Empty")));
|
||||
else sender.sendMessage(Text.builder(" (master)").append(msg.build()).build());
|
||||
else sender.sendMessage(Text.builder(" ").append(msg.build()).build());
|
||||
if (data.getSection("proxies").getKeys().size() > 0) {
|
||||
sender.sendMessage(Text.of(plugin.api.getLang("SubServers", "Command.List.Proxy-Header")));
|
||||
msg = Text.builder();
|
||||
@ -415,7 +415,7 @@ public final class SubCommand implements CommandExecutor {
|
||||
message.onHover(TextActions.showText(hover.build()));
|
||||
msg.append(div, message.build());
|
||||
}
|
||||
sender.sendMessage(Text.builder(" ").append(msg.build()).build());
|
||||
sender.sendMessage(Text.builder(" (master)").color(TextColors.GRAY).append(msg.build()).build());
|
||||
}
|
||||
}));
|
||||
return CommandResult.builder().successCount(1).build();
|
||||
|
Loading…
Reference in New Issue
Block a user