summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityProjectile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntityProjectile.patch')
-rw-r--r--nms-patches/EntityProjectile.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/nms-patches/EntityProjectile.patch b/nms-patches/EntityProjectile.patch
index f2c9c7f3..af70eb1b 100644
--- a/nms-patches/EntityProjectile.patch
+++ b/nms-patches/EntityProjectile.patch
@@ -10,11 +10,11 @@
protected void i() {}
@@ -127,7 +128,7 @@
if (entity1.isInteractable()) {
- if (entity1 == this.c) {
+ if (entity1 == this.d) {
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;
+- } else if (this.shooter != null && this.ticksLived < 2 && this.d == null) {
++ } else if (this.shooter != null && this.ticksLived < 2 && this.d == null && this.shooter == entity1) { // CraftBukkit - MC-88491
+ this.d = entity1;
flag = true;
} else {
@@ -164,6 +165,11 @@