summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nms-patches/EntityProjectile.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/nms-patches/EntityProjectile.patch b/nms-patches/EntityProjectile.patch
index 17b70ac1..f2c9c7f3 100644
--- a/nms-patches/EntityProjectile.patch
+++ b/nms-patches/EntityProjectile.patch
@@ -8,6 +8,15 @@
}
protected void i() {}
+@@ -127,7 +128,7 @@
+ if (entity1.isInteractable()) {
+ if (entity1 == this.c) {
+ flag = true;
+- } else if (this.shooter != null && this.ticksLived < 2 && this.c == null) {
++ } else if (this.shooter != null && this.ticksLived < 2 && this.c == null && this.shooter == entity1) { // CraftBukkit - MC-88491
+ this.c = entity1;
+ flag = true;
+ } else {
@@ -164,6 +165,11 @@
this.e(movingobjectposition.a());
} else {