From 4c8b2e540ede9aa1889661e963b20835cb952d0a Mon Sep 17 00:00:00 2001 From: Ayham Al-Ali <20037329+AyhamAl-Ali@users.noreply.github.com> Date: Sun, 31 Mar 2024 23:45:01 +0300 Subject: [PATCH] fix docs --- src/main/java/ch/njol/skript/doc/HTMLGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ch/njol/skript/doc/HTMLGenerator.java b/src/main/java/ch/njol/skript/doc/HTMLGenerator.java index abf5e39bb0b..0aa790d5b1e 100644 --- a/src/main/java/ch/njol/skript/doc/HTMLGenerator.java +++ b/src/main/java/ch/njol/skript/doc/HTMLGenerator.java @@ -934,7 +934,7 @@ public static String introduceSkwipt(String string) { } public static String[] introduceSkwipt(String[] string) { - for (int i = 0; i < string.length; i++) { + for (int i = 0; i < (string != null ? string.length : 0); i++) { string[i] = introduceSkwipt(string[i]); } return string;