aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0523-Fix-nerfed-slime-when-splitting.patch
blob: ca1a39e53c8f28aa642479981dbf171d6b5e8cba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Jake Potrebic <jake.m.potrebic@gmail.com>
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 30779b817db6f8e392036b4ec66e1c5cf50cd0f5..b0c5324dadc0a66786ec5edb7b4796ceeaa8e0d2 100644
--- a/src/main/java/net/minecraft/world/entity/monster/Slime.java
+++ b/src/main/java/net/minecraft/world/entity/monster/Slime.java
@@ -241,6 +241,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());