diff options
Diffstat (limited to 'patches/server/0540-Fix-nerfed-slime-when-splitting.patch')
-rw-r--r-- | patches/server/0540-Fix-nerfed-slime-when-splitting.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/patches/server/0540-Fix-nerfed-slime-when-splitting.patch b/patches/server/0540-Fix-nerfed-slime-when-splitting.patch new file mode 100644 index 0000000000..726d362dff --- /dev/null +++ b/patches/server/0540-Fix-nerfed-slime-when-splitting.patch @@ -0,0 +1,18 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Jake Potrebic <[email protected]> +Date: Mon, 24 Aug 2020 08:39:06 -0700 +Subject: [PATCH] Fix nerfed slime when splitting + + +diff --git a/src/main/java/net/minecraft/world/entity/monster/Slime.java b/src/main/java/net/minecraft/world/entity/monster/Slime.java +index 48feda682284321d18c846e4812909f0e7e649e3..15d5a8290be35c2caebf8e296300e8f32cb597c7 100644 +--- a/src/main/java/net/minecraft/world/entity/monster/Slime.java ++++ b/src/main/java/net/minecraft/world/entity/monster/Slime.java +@@ -239,6 +239,7 @@ public class Slime extends Mob implements Enemy { + entityslime.setPersistenceRequired(); + } + ++ entityslime.aware = this.aware; // Paper + entityslime.setCustomName(ichatbasecomponent); + entityslime.setNoAi(flag); + entityslime.setInvulnerable(this.isInvulnerable()); |