Skip to content

Commit

Permalink
Update src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/Sl…
Browse files Browse the repository at this point in the history
…imefunGuideUnlockMode.java

Co-authored-by: Jeroen <[email protected]>
  • Loading branch information
StarWishsama and iTwins authored Aug 10, 2023
1 parent 18f8141 commit 59d8ed1
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 59d8ed1

Please sign in to comment.