Fix slight lang issue

This commit is contained in:
ME1312 2018-08-05 17:51:18 -04:00
parent 4aa943953f
commit a7e9185ce4
No known key found for this signature in database
GPG Key ID: FEFFE2F698E88FA8

View File

@ -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();