diff --git a/.gitignore b/.gitignore index 03357f0..57ab0a2 100644 --- a/.gitignore +++ b/.gitignore @@ -25,7 +25,6 @@ dependency-reduced-pom.xml # various other potential build files build/ -build-data/ bin/ dist/ manifest.mf diff --git a/patches/server/0089-Fix-MC-121706.patch b/patches/server/0089-Fix-MC-121706.patch new file mode 100644 index 0000000..0d2c2f7 --- /dev/null +++ b/patches/server/0089-Fix-MC-121706.patch @@ -0,0 +1,23 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Etil <81570777+etil2jz@users.noreply.github.com> +Date: Sun, 2 Jan 2022 20:37:30 +0100 +Subject: [PATCH] Fix MC-121706 + + +diff --git a/src/main/java/net/minecraft/world/entity/ai/goal/RangedBowAttackGoal.java b/src/main/java/net/minecraft/world/entity/ai/goal/RangedBowAttackGoal.java +index 6558b0d4bea99948fdc2b51751f3cfdc239d4b67..70a1b1821d4f05e9d2baac85f298eedd425577d2 100644 +--- a/src/main/java/net/minecraft/world/entity/ai/goal/RangedBowAttackGoal.java ++++ b/src/main/java/net/minecraft/world/entity/ai/goal/RangedBowAttackGoal.java +@@ -111,10 +111,10 @@ public class RangedBowAttackGoal extends Go + + this.mob.getMoveControl().strafe(this.strafingBackwards ? -0.5F : 0.5F, this.strafingClockwise ? 0.5F : -0.5F); + this.mob.lookAt(livingEntity, 30.0F, 30.0F); +- } else { +- this.mob.getLookControl().setLookAt(livingEntity, 30.0F, 30.0F); + } + ++ this.mob.getLookControl().setLookAt(livingEntity, 30.0F, 30.0F); // Mirai - fix MC-121706 ++ + if (this.mob.isUsingItem()) { + if (!bl && this.seeTime < -60) { + this.mob.stopUsingItem();