Skip to content

Commit 0dab641

Browse files
bluelhfsovdeeth
andcommitted
fix(docs): example indentation
Co-authored-by: sovde <10354869+sovdeeth@users.noreply.github.com>
1 parent 0b1124c commit 0dab641

3 files changed

Lines changed: 23 additions & 23 deletions

File tree

src/main/java/ch/njol/skript/expressions/ExprValue.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,18 @@
2929
"The value is automatically converted to the specified type (e.g. text, number) where possible."
3030
})
3131
@Example("""
32-
set {_node} to node "language" in the skript config
33-
broadcast the text value of {_node}
34-
""")
32+
set {_node} to node "language" in the skript config
33+
broadcast the text value of {_node}
34+
""")
3535
@Example("""
36-
set {_node} to node "update check interval" in the skript config
37-
38-
broadcast text value of {_node}
39-
# text value of {_node} = "12 hours" (text)
40-
41-
wait for {_node}'s timespan value
42-
# timespan value of {_node} = 12 hours (duration)
43-
""")
36+
set {_node} to node "update check interval" in the skript config
37+
38+
broadcast text value of {_node}
39+
# text value of {_node} = "12 hours" (text)
40+
41+
wait for {_node}'s timespan value
42+
# timespan value of {_node} = 12 hours (duration)
43+
""")
4444
@Since("2.10 (Nodes), 2.10 (Any)")
4545
@Deprecated(since="2.13", forRemoval = true)
4646
public class ExprValue extends SimplePropertyExpression<Object, Object> {

src/main/java/ch/njol/skript/expressions/ExprXYZComponent.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,17 @@
2828
"You cannot use the W component with vectors; it is for quaternions only."
2929
})
3030
@Example("""
31-
set {_v} to vector 1, 2, 3
32-
send "%x of {_v}%, %y of {_v}%, %z of {_v}%"
33-
add 1 to x of {_v}
34-
add 2 to y of {_v}
35-
add 3 to z of {_v}
36-
send "%x of {_v}%, %y of {_v}%, %z of {_v}%"
37-
set x component of {_v} to 1
38-
set y component of {_v} to 2
39-
set z component of {_v} to 3
40-
send "%x component of {_v}%, %y component of {_v}%, %z component of {_v}%"
41-
""")
31+
set {_v} to vector 1, 2, 3
32+
send "%x of {_v}%, %y of {_v}%, %z of {_v}%"
33+
add 1 to x of {_v}
34+
add 2 to y of {_v}
35+
add 3 to z of {_v}
36+
send "%x of {_v}%, %y of {_v}%, %z of {_v}%"
37+
set x component of {_v} to 1
38+
set y component of {_v} to 2
39+
set z component of {_v} to 3
40+
send "%x component of {_v}%, %y component of {_v}%, %z component of {_v}%"
41+
""")
4242
@Since("2.2-dev28, 2.10 (quaternions)")
4343
public class ExprXYZComponent extends SimplePropertyExpression<Object, Number> {
4444

src/main/java/ch/njol/skript/hooks/regions/expressions/ExprMembersOfRegion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
})
3030
@Example("""
3131
on entering of a region:
32-
message "You're entering %region% whose owners are %owners of region%"
32+
message "You're entering %region% whose owners are %owners of region%"
3333
""")
3434
@Since("2.1")
3535
@RequiredPlugins("Supported regions plugin")

0 commit comments

Comments
 (0)