Paper/patches/unapplied/server/0458-Fix-nerfed-slime-when-splitting.patch

19 lines
1014 B
Diff
Raw Normal View History

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
2024-06-13 22:57:13 +02:00
index ef27b0af849f071f79271689783b7a557e6d660a..b54c30ba73b6ab069c0c7c1cd2b193090da79667 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
2024-06-13 22:57:13 +02:00
@@ -254,6 +254,7 @@ public class Slime extends Mob implements Enemy {
2022-12-07 21:16:54 +01:00
entityslime.setPersistenceRequired();
}
2021-06-11 14:02:28 +02:00
+ entityslime.aware = this.aware; // Paper - Fix nerfed slime when splitting
2022-12-07 21:16:54 +01:00
entityslime.setCustomName(ichatbasecomponent);
entityslime.setNoAi(flag);
entityslime.setInvulnerable(this.isInvulnerable());