Skip to content

Commit 7fc9262

Browse files
committed
Update ExprExcept.java
1 parent 9798c7b commit 7fc9262

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

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

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,19 @@
1717
@Name("Except")
1818
@Description("Filter a list by providing objects to be excluded.")
1919
@Example("""
20-
spawn zombie at location(0, 0, 0):
21-
hide entity from all players except {_player}
22-
"""
23-
)
20+
spawn zombie at location(0, 0, 0):
21+
hide entity from all players except {_player}
22+
""")
2423
@Example("""
25-
set {_items::*} to a copper ingot, an iron ingot and a gold ingot
26-
set {_except::*} to {_items::*} excluding copper ingot
27-
"""
28-
)
24+
set {_items::*} to a copper ingot, an iron ingot and a gold ingot
25+
set {_except::*} to {_items::*} excluding copper ingot
26+
""")
2927
@Since("INSERT VERSION")
3028
public class ExprExcept extends SimpleExpression<Object> {
3129

3230
static {
3331
Skript.registerExpression(ExprExcept.class, Object.class, ExpressionType.COMBINED,
34-
"%~objects% (except|excluding|not including) %objects%");
32+
"%~objects% (except|excluding|not including) %objects%");
3533
}
3634

3735
private Expression<?> source;

0 commit comments

Comments
 (0)