diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/SlimefunGuideUnlockMode.java b/src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/SlimefunGuideUnlockMode.java index 0a21f3d986..a42cfd88df 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/SlimefunGuideUnlockMode.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/SlimefunGuideUnlockMode.java @@ -44,8 +44,7 @@ public enum SlimefunGuideUnlockMode { * @param s text to validate * @return {@link SlimefunGuideUnlockMode} */ - @Nonnull - public static SlimefunGuideUnlockMode check(String s) { + public static @Nonnull SlimefunGuideUnlockMode check(@Nullable String s) { if (s == null) { return SlimefunGuideUnlockMode.EXPERIENCE; }