Skip to content

Commit 9299e93

Browse files
committed
fix(docs): merge EffCopy examples into one
1 parent 1f59e03 commit 9299e93

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

src/main/java/ch/njol/skript/effects/EffCopy.java

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,14 @@
2626
"Copies objects into a variable. When copying a list over to another list, the source list and its sublists are also copied over.",
2727
"<strong>Note: Copying a value into a variable/list will overwrite the existing data.</strong>"
2828
})
29-
@Example("set {_foo::bar} to 1")
30-
@Example("set {_foo::sublist::foobar} to \"hey\"")
31-
@Example("copy {_foo::*} to {_copy::*}")
32-
@Example("broadcast indices of {_copy::*} # bar, sublist")
33-
@Example("broadcast {_copy::bar} # 1")
34-
@Example("broadcast {_copy::sublist::foobar} # \"hey!\"")
29+
@Example("""
30+
set {_foo::bar} to 1
31+
set {_foo::sublist::foobar} to "hey"
32+
copy {_foo::*} to {_copy::*}"
33+
broadcast indices of {_copy::*} # bar, sublist
34+
broadcast {_copy::bar} # 1
35+
broadcast {_copy::sublist::foobar} # "hey!"
36+
""")
3537
@Since("2.8.0")
3638
@Keywords({"clone", "variable", "list"})
3739
public class EffCopy extends Effect {

0 commit comments

Comments
 (0)