aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0518-Fix-nerfed-slime-when-splitting.patch
diff options
context:
space:
mode:
authorNassim Jahnke <[email protected]>2023-09-23 11:45:34 +1000
committerNassim Jahnke <[email protected]>2023-09-23 11:45:34 +1000
commita353f4d207994e0f2dfe55047cffbcb98f74bafc (patch)
treed16ee406ab9cd0d19c35f1c318d59e28c23cf6d6 /patches/server/0518-Fix-nerfed-slime-when-splitting.patch
parenta50d7c340b9922eab16fd9f246269b4c75453648 (diff)
downloadPaper-a353f4d207994e0f2dfe55047cffbcb98f74bafc.tar.gz
Paper-a353f4d207994e0f2dfe55047cffbcb98f74bafc.zip
Readd network optimization patch
Diffstat (limited to 'patches/server/0518-Fix-nerfed-slime-when-splitting.patch')
-rw-r--r--patches/server/0518-Fix-nerfed-slime-when-splitting.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/patches/server/0518-Fix-nerfed-slime-when-splitting.patch b/patches/server/0518-Fix-nerfed-slime-when-splitting.patch
new file mode 100644
index 0000000000..d2beca8665
--- /dev/null
+++ b/patches/server/0518-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 4677e47e4a84d09025cfb9327c1ed3bead1a3feb..21311d67565443b4ef59f8676f616237d28a8084 100644
+--- a/src/main/java/net/minecraft/world/entity/monster/Slime.java
++++ b/src/main/java/net/minecraft/world/entity/monster/Slime.java
+@@ -243,6 +243,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());