2021-06-11 14:02:28 +02:00
|
|
|
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
|
2022-06-08 09:30:41 +02:00
|
|
|
index aee0180c554949eb16fe1785344c28c4ecc1e0a0..bdc6a7e6a9fcd467f653d53afd7ca2e33776fb06 100644
|
2021-06-11 14:02:28 +02:00
|
|
|
--- a/src/main/java/net/minecraft/world/entity/monster/Slime.java
|
|
|
|
+++ b/src/main/java/net/minecraft/world/entity/monster/Slime.java
|
2022-03-01 06:43:03 +01:00
|
|
|
@@ -239,6 +239,7 @@ public class Slime extends Mob implements Enemy {
|
2021-06-11 14:02:28 +02:00
|
|
|
entityslime.setPersistenceRequired();
|
|
|
|
}
|
|
|
|
|
|
|
|
+ entityslime.aware = this.aware; // Paper
|
|
|
|
entityslime.setCustomName(ichatbasecomponent);
|
|
|
|
entityslime.setNoAi(flag);
|
|
|
|
entityslime.setInvulnerable(this.isInvulnerable());
|