Skip to content

Commit

Permalink
How did no one catch this XD
Browse files Browse the repository at this point in the history
  • Loading branch information
JustAHuman-xD committed Jan 17, 2024
1 parent 6bc1b1f commit ff2dae5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,7 @@ public final int hashCode() {
* The {@link ItemStack} to check
* @return The {@link Optional} {@link SlimefunItem} associated with this {@link ItemStack} if present, otherwise empty
*/
public @Nonnull Optional<SlimefunItem> getOptionalByItem(@Nullable ItemStack item) {
public static @Nonnull Optional<SlimefunItem> getOptionalByItem(@Nullable ItemStack item) {
return Optional.ofNullable(getByItem(item));
}
}

0 comments on commit ff2dae5

Please sign in to comment.