Commit 8371c333 authored by Linus K.'s avatar Linus K.
Browse files

Sort homes

parent aa5c9e24
......@@ -25,7 +25,7 @@ class HomesCommand: CommandExecutor {
for(comp in TextComponent.fromLegacyText("${Plugin.prefix} §aHomes: "))
homes.addExtra(comp)
for((i, home) in sender.homes.keys.withIndex()) {
for((i, home) in sender.homes.keys.sorted().withIndex()) {
if(i > 0)
homes.addExtra(", ")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment