Commits

md_5 authored b125516c6e0
Fix typo in RecipeChoice.ExactChoice docs
No tags

src/main/java/org/bukkit/inventory/RecipeChoice.java

Modified
137 137 return true;
138 138 }
139 139
140 140 @Override
141 141 public String toString() {
142 142 return "MaterialChoice{" + "choices=" + choices + '}';
143 143 }
144 144 }
145 145
146 146 /**
147 - * Represents a choice that will be valid only one of the stacks is exactly
148 - * matched (aside from stack size).
147 + * Represents a choice that will be valid only if one of the stacks is
148 + * exactly matched (aside from stack size).
149 149 * <br>
150 150 * <b>Only valid for shaped recipes</b>
151 151 */
152 152 public static class ExactChoice implements RecipeChoice {
153 153
154 154 private List<ItemStack> choices;
155 155
156 156 public ExactChoice(@NotNull ItemStack stack) {
157 157 this(Arrays.asList(stack));
158 158 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut