summaryrefslogtreecommitdiffstats
path: root/nms-patches/ContainerAnvil.patch
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2016-12-21 07:00:00 +1100
committermd_5 <git@md-5.net>2016-12-21 07:00:00 +1100
commit8ea0c87f515290c35baf0029f7b2e046c1ff49cb (patch)
tree3ac51dcfdc206a175b73ec4013bd53c423e9b6e4 /nms-patches/ContainerAnvil.patch
parentc8ff65136f23a3c2770b8d9ca508f61927f8acba (diff)
downloadcraftbukkit-8ea0c87f515290c35baf0029f7b2e046c1ff49cb.tar
craftbukkit-8ea0c87f515290c35baf0029f7b2e046c1ff49cb.tar.gz
craftbukkit-8ea0c87f515290c35baf0029f7b2e046c1ff49cb.tar.lz
craftbukkit-8ea0c87f515290c35baf0029f7b2e046c1ff49cb.tar.xz
craftbukkit-8ea0c87f515290c35baf0029f7b2e046c1ff49cb.zip
Update to Minecraft 1.11.1
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 27ce994b..967b3103 100644
--- a/nms-patches/ContainerAnvil.patch
+++ b/nms-patches/ContainerAnvil.patch
@@ -28,7 +28,7 @@
this.j = blockposition;
this.i = world;
this.m = entityhuman;
-@@ -110,7 +119,7 @@
+@@ -117,7 +126,7 @@
byte b1 = 0;
if (itemstack.isEmpty()) {
@@ -37,7 +37,7 @@
this.a = 0;
} else {
ItemStack itemstack1 = itemstack.cloneItemStack();
-@@ -128,7 +137,7 @@
+@@ -140,7 +149,7 @@
if (itemstack1.f() && itemstack1.getItem().a(itemstack, itemstack2)) {
k = Math.min(itemstack1.i(), itemstack1.k() / 4);
if (k <= 0) {
@@ -46,7 +46,7 @@
this.a = 0;
return;
}
-@@ -143,7 +152,7 @@
+@@ -155,7 +164,7 @@
this.k = l;
} else {
if (!flag && (itemstack1.getItem() != itemstack2.getItem() || !itemstack1.f())) {
@@ -55,7 +55,7 @@
this.a = 0;
return;
}
-@@ -270,7 +279,7 @@
+@@ -292,7 +301,7 @@
EnchantmentManager.a(map, itemstack1);
}
@@ -64,7 +64,7 @@
this.b();
}
}
-@@ -295,6 +304,7 @@
+@@ -317,6 +326,7 @@
}
public boolean a(EntityHuman entityhuman) {
@@ -72,7 +72,7 @@
return this.i.getType(this.j).getBlock() != Blocks.ANVIL ? false : entityhuman.d((double) this.j.getX() + 0.5D, (double) this.j.getY() + 0.5D, (double) this.j.getZ() + 0.5D) <= 64.0D;
}
-@@ -350,4 +360,29 @@
+@@ -372,4 +382,29 @@
this.e();
}