Display information about it being reiterative or not

This commit is contained in:
Jaime Martínez Rincón 2017-09-14 23:58:53 +02:00
parent 922399a934
commit 14f2765a14

View File

@ -118,6 +118,13 @@ public class ManageCommand extends Command {
.create() .create()
); );
sender.sendMessage(new ComponentBuilder("Reiterative: ")
.color(ChatColor.GRAY)
.append(manager.isReiterative(section) ? "yes" : "no")
.color(manager.isReiterative(section) ? ChatColor.GREEN : ChatColor.RED)
.create()
);
if (section.getServer() != null) { if (section.getServer() != null) {
sender.sendMessage(new ComponentBuilder("Section Server: ") sender.sendMessage(new ComponentBuilder("Section Server: ")
.color(ChatColor.GRAY) .color(ChatColor.GRAY)