Skip to content

Commit beda9bb

Browse files
authored
prevent bad arithmetic operators in gendocs (SkriptLang#8332)
1 parent 904cfa2 commit beda9bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/ch/njol/skript/test/runner/CustomTestOperators.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
public final class CustomTestOperators {
99

1010
static {
11-
if (TestMode.ENABLED) {
11+
if (TestMode.ENABLED && !TestMode.GEN_DOCS) {
1212
Arithmetics.registerOperation(
1313
new Operator("bar!", Priority.base(), (Noun) null),
1414
String.class,

0 commit comments

Comments
 (0)