From 7a728f80d180e4b80e1d3b26447ad713ae01ccf2 Mon Sep 17 00:00:00 2001 From: BillyGalbreath Date: Mon, 10 May 2021 04:39:46 -0500 Subject: [PATCH] Fix #325 - Fix SPIGOT-6278 --- patches/server/0207-Fix-SPIGOT-6278.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 patches/server/0207-Fix-SPIGOT-6278.patch diff --git a/patches/server/0207-Fix-SPIGOT-6278.patch b/patches/server/0207-Fix-SPIGOT-6278.patch new file mode 100644 index 000000000..f3497e425 --- /dev/null +++ b/patches/server/0207-Fix-SPIGOT-6278.patch @@ -0,0 +1,19 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: BillyGalbreath +Date: Mon, 10 May 2021 02:08:53 -0500 +Subject: [PATCH] Fix SPIGOT-6278 + + +diff --git a/src/main/java/net/minecraft/world/entity/monster/piglin/EntityPiglin.java b/src/main/java/net/minecraft/world/entity/monster/piglin/EntityPiglin.java +index 99fc16aae085da564c5236e68925a8a2225f5c27..c6f51a483c919d032edb5b8b16a95c0750cef71b 100644 +--- a/src/main/java/net/minecraft/world/entity/monster/piglin/EntityPiglin.java ++++ b/src/main/java/net/minecraft/world/entity/monster/piglin/EntityPiglin.java +@@ -172,7 +172,7 @@ public class EntityPiglin extends EntityPiglinAbstract implements ICrossbow { + + @Override + public boolean isTypeNotPersistent(double d0) { +- return !this.isPersistent(); ++ return true || !this.isPersistent(); // Purpur - fix SPIGOT-6278 + } + + @Override