SPIGOT-7928: ExactChoice acts as MaterialChoice
This commit is contained in:
parent
3eaf3a13c7
commit
6bb0db5cb7
@ -25,7 +25,7 @@
|
||||
|
||||
private RecipeItemStack(HolderSet<Item> holderset) {
|
||||
holderset.unwrap().ifRight((list) -> {
|
||||
@@ -72,6 +90,15 @@
|
||||
@@ -72,6 +90,17 @@
|
||||
}
|
||||
|
||||
public boolean test(ItemStack itemstack) {
|
||||
@ -36,12 +36,14 @@
|
||||
+ return true;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ return false;
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
List<Holder<Item>> list = this.items();
|
||||
|
||||
for (int i = 0; i < list.size(); ++i) {
|
||||
@@ -85,7 +112,7 @@
|
||||
@@ -85,7 +114,7 @@
|
||||
|
||||
public boolean equals(Object object) {
|
||||
if (object instanceof RecipeItemStack recipeitemstack) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user