Skip to content

Commit

Permalink
fix wrong doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Phoupraw committed Oct 21, 2023
1 parent 6a1c4ed commit cc27ca5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ default ItemStack getRecipeRemainder(ItemStack stack) {

/**
* This is a stack-aware version of {@link Item#getFoodComponent()}.
* Note that simple item remainders can also be set via {@link Item.Settings#food(FoodComponent)}.
* If you want to get a remainder for a stack, is <b>recommended</b> to use the stack version of this method: {@link FabricItemStack#getFoodComponent()}.
* Note that simple food component can also be set via {@link Item.Settings#food(FoodComponent)}.
* If you want to get a food component for a stack, is <b>recommended</b> to use the stack version of this method: {@link FabricItemStack#getFoodComponent()}.
*
* @return this item's {@link FoodComponent}, or {@code null} if none was set.
*/
Expand Down

0 comments on commit cc27ca5

Please sign in to comment.