Skip to content

Commit e6a10a2

Browse files
committed
Formated message
1 parent ddf0596 commit e6a10a2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/main/java/de/simonsator/clans/example/stats/StatsExample.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,11 @@ public void stats(OnlinePAFPlayer pSender, Clan pClan) {
6262

6363
// Counts how many players are in the list.
6464
int onlinePlayersOfTheClanCount = onlinePlayersOfTheClan.size();
65-
65+
// Adds a split message
66+
pSender.sendMessage("§7------------------------");
6667
// Sends a message to the player who used /clan stats and tells him how many people of this clan are online at the moment.
67-
pSender.sendMessage("From this clan are " + onlinePlayersOfTheClanCount + " members online.");
68+
pSender.sendMessage("§7From this clan are " + onlinePlayersOfTheClanCount + " members online.");
69+
// Adds a split message
70+
pSender.sendMessage("§7------------------------");
6871
}
6972
}

0 commit comments

Comments
 (0)