summaryrefslogtreecommitdiffstats
path: root/nms-patches/ItemBow.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/ItemBow.patch')
-rw-r--r--nms-patches/ItemBow.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/nms-patches/ItemBow.patch b/nms-patches/ItemBow.patch
index 4f227519..c34128b3 100644
--- a/nms-patches/ItemBow.patch
+++ b/nms-patches/ItemBow.patch
@@ -12,10 +12,10 @@
+ // CraftBukkit start - obfuscator went a little crazy
+ /*
this.a(new MinecraftKey("pull"), (itemstack, world, entityliving) -> {
- return entityliving == null ? 0.0F : (entityliving.cV().getItem() != Items.BOW ? 0.0F : (float) (itemstack.k() - entityliving.cW()) / 20.0F);
+ return entityliving == null ? 0.0F : (entityliving.cW().getItem() != Items.BOW ? 0.0F : (float) (itemstack.k() - entityliving.cX()) / 20.0F);
});
this.a(new MinecraftKey("pulling"), (itemstack, world, entityliving) -> {
- return entityliving != null && entityliving.isHandRaised() && entityliving.cV() == itemstack ? 1.0F : 0.0F;
+ return entityliving != null && entityliving.isHandRaised() && entityliving.cW() == itemstack ? 1.0F : 0.0F;
});
+ */
+ // CraftBukkit end