summaryrefslogtreecommitdiffstats
path: root/nms-patches/ContainerAnvil.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/ContainerAnvil.patch')
-rw-r--r--nms-patches/ContainerAnvil.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/nms-patches/ContainerAnvil.patch b/nms-patches/ContainerAnvil.patch
index c5787ca8..890b2c47 100644
--- a/nms-patches/ContainerAnvil.patch
+++ b/nms-patches/ContainerAnvil.patch
@@ -46,7 +46,7 @@
return;
}
@@ -144,7 +155,7 @@
- this.k = l;
+ this.k = i1;
} else {
if (!flag && (itemstack1.getItem() != itemstack2.getItem() || !itemstack1.e())) {
- this.g.setItem(0, ItemStack.a);
@@ -54,7 +54,7 @@
this.levelCost = 0;
return;
}
-@@ -237,7 +248,7 @@
+@@ -234,7 +245,7 @@
}
if (flag2 && !flag1) {
@@ -63,7 +63,7 @@
this.levelCost = 0;
return;
}
-@@ -261,11 +272,11 @@
+@@ -258,11 +269,11 @@
itemstack1 = ItemStack.a;
}
@@ -78,7 +78,7 @@
itemstack1 = ItemStack.a;
}
-@@ -284,7 +295,7 @@
+@@ -281,7 +292,7 @@
EnchantmentManager.a(map, itemstack1);
}
@@ -87,7 +87,7 @@
this.b();
}
}
-@@ -302,6 +313,7 @@
+@@ -299,6 +310,7 @@
}
public boolean canUse(EntityHuman entityhuman) {
@@ -95,7 +95,7 @@
return !this.i.getType(this.j).a(TagsBlock.ANVIL) ? false : entityhuman.d((double) this.j.getX() + 0.5D, (double) this.j.getY() + 0.5D, (double) this.j.getZ() + 0.5D) <= 64.0D;
}
-@@ -357,4 +369,33 @@
+@@ -354,4 +366,33 @@
this.d();
}