Skip to content

Commit 2803fc3

Browse files
committed
Arguments added to out.
Signed-off-by: Pavel Erokhin (MairwunNx) <MairwunNx@gmail.com>
1 parent 6ec7a01 commit 2803fc3

File tree

1 file changed

+3
-3
lines changed
  • src/main/kotlin/com/mairwunnx/projectessentials/home/commands

1 file changed

+3
-3
lines changed

src/main/kotlin/com/mairwunnx/projectessentials/home/commands/HomeCommand.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ object HomeCommand : CommandBase(homeLiteral) {
3535
it.home == name
3636
}?.let {
3737
teleportToHome(player, it).also {
38-
out("success").also { super.process(context) }
38+
out("success", name).also { super.process(context) }
3939
}
40-
} ?: run { out("not_found") }
41-
} ?: run { out("not_found") }
40+
} ?: run { out("not_found", name) }
41+
} ?: run { out("not_found", name) }
4242
}
4343
}
4444
}

0 commit comments

Comments
 (0)