SPIGOT-4708: Fix ExactChoice recipes neglecting material

This commit is contained in:
md_5 2019-04-21 10:30:37 +10:00
parent 9ead700959
commit 3697519ba5

View file

@ -14,7 +14,7 @@
+ // CraftBukkit start + // CraftBukkit start
+ if (exact) { + if (exact) {
+ if (ItemStack.equals(itemstack, itemstack1)) { + if (itemstack1.getItem() == itemstack.getItem() && ItemStack.equals(itemstack, itemstack1)) {
+ return true; + return true;
+ } + }
+ +