You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/kotlin-dsl/delegated-properties.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,8 @@ The CommandAPI offers an additional way to access arguments when using Kotlin: [
16
16
17
17
If you are already using the Kotlin DSL to create your commands, you can already use delegated properties. `commandapi-core-kotlin` is included in `commandapi-bukkit-kotlin`.
18
18
19
+
20
+
19
21
### Access arguments using delegated properties
20
22
21
23
To be able to access arguments by using delegated properties, your variable name needs to match the node name of the argument. This could look like this:
0 commit comments