diff options
author | Nassim Jahnke <[email protected]> | 2024-04-26 11:12:19 +0200 |
---|---|---|
committer | Nassim Jahnke <[email protected]> | 2024-04-26 11:18:15 +0200 |
commit | 478a971a7b7e2a3c38c38c7367e8d887c763ae3b (patch) | |
tree | 5af1f2392de804489902c6bd0e50c08b51c081f9 /patches/server/0006-MC-Dev-fixes.patch | |
parent | 813cfbf2b0c31f3468554cd6fd87bad5af03259c (diff) | |
download | Paper-478a971a7b7e2a3c38c38c7367e8d887c763ae3b.tar.gz Paper-478a971a7b7e2a3c38c38c7367e8d887c763ae3b.zip |
Fix light setting in protochunk
Diffstat (limited to 'patches/server/0006-MC-Dev-fixes.patch')
-rw-r--r-- | patches/server/0006-MC-Dev-fixes.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/server/0006-MC-Dev-fixes.patch b/patches/server/0006-MC-Dev-fixes.patch index feb444d777..6655e95552 100644 --- a/patches/server/0006-MC-Dev-fixes.patch +++ b/patches/server/0006-MC-Dev-fixes.patch @@ -84,3 +84,16 @@ index 661a6274a800ca9b91bdb809d026972d23c3b263..ea72dcb064a35bc6245bc5c94d592efe } public static <T> SortedArraySet<T> create(Comparator<T> comparator) { +diff --git a/src/main/java/net/minecraft/world/entity/monster/Pillager.java b/src/main/java/net/minecraft/world/entity/monster/Pillager.java +index 328888db50c7ef7cae8305a6aa19d1af9a8c880d..9d75cc03c8bfe271c72920d9142dac6281bf0341 100644 +--- a/src/main/java/net/minecraft/world/entity/monster/Pillager.java ++++ b/src/main/java/net/minecraft/world/entity/monster/Pillager.java +@@ -62,7 +62,7 @@ public class Pillager extends AbstractIllager implements CrossbowAttackMob, Inve + protected void registerGoals() { + super.registerGoals(); + this.goalSelector.addGoal(0, new FloatGoal(this)); +- this.goalSelector.addGoal(2, new Raider.HoldGroundAttackGoal(this, this, 10.0F)); ++ this.goalSelector.addGoal(2, new Raider.HoldGroundAttackGoal(this, 10.0F)); // Paper - what? + this.goalSelector.addGoal(3, new RangedCrossbowAttackGoal<>(this, 1.0D, 8.0F)); + this.goalSelector.addGoal(8, new RandomStrollGoal(this, 0.6D)); + this.goalSelector.addGoal(9, new LookAtPlayerGoal(this, Player.class, 15.0F, 1.0F)); |