Skip to content

Commit 14f2765

Browse files
committed
Display information about it being reiterative or not
1 parent 922399a commit 14f2765

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/main/java/com/jaimemartz/playerbalancer/commands/ManageCommand.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,13 @@ public void execute(CommandSender sender, String[] args) {
118118
.create()
119119
);
120120

121+
sender.sendMessage(new ComponentBuilder("Reiterative: ")
122+
.color(ChatColor.GRAY)
123+
.append(manager.isReiterative(section) ? "yes" : "no")
124+
.color(manager.isReiterative(section) ? ChatColor.GREEN : ChatColor.RED)
125+
.create()
126+
);
127+
121128
if (section.getServer() != null) {
122129
sender.sendMessage(new ComponentBuilder("Section Server: ")
123130
.color(ChatColor.GRAY)

0 commit comments

Comments
 (0)