From 9fd31e67510870142adddf027e8c5f30895cfaaa Mon Sep 17 00:00:00 2001 From: Jake Potrebic Date: Fri, 17 Jul 2020 13:34:50 -0700 Subject: [PATCH] fix for nerfed slime mobs splitting --- .../0635-Fix-nerfed-slime-when-splitting.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Spigot-Server-Patches/0635-Fix-nerfed-slime-when-splitting.patch diff --git a/Spigot-Server-Patches/0635-Fix-nerfed-slime-when-splitting.patch b/Spigot-Server-Patches/0635-Fix-nerfed-slime-when-splitting.patch new file mode 100644 index 000000000..34a0feff9 --- /dev/null +++ b/Spigot-Server-Patches/0635-Fix-nerfed-slime-when-splitting.patch @@ -0,0 +1,18 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Jake Potrebic +Date: Mon, 24 Aug 2020 08:39:06 -0700 +Subject: [PATCH] Fix nerfed slime when splitting + + +diff --git a/src/main/java/net/minecraft/server/EntitySlime.java b/src/main/java/net/minecraft/server/EntitySlime.java +index e99fd88118a75f36cb93d02aa7c6029bcffd5f10..8a1ff579ddf2fef191bc370dc51dd2e6404d9a22 100644 +--- a/src/main/java/net/minecraft/server/EntitySlime.java ++++ b/src/main/java/net/minecraft/server/EntitySlime.java +@@ -206,6 +206,7 @@ public class EntitySlime extends EntityInsentient implements IMonster { + entityslime.setPersistent(); + } + ++ entityslime.aware = this.aware; // Paper + entityslime.setCustomName(ichatbasecomponent); + entityslime.setNoAI(flag); + entityslime.setInvulnerable(this.isInvulnerable());