Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-15 04:20:04 +01:00
19 Zeilen
1014 B
Diff
19 Zeilen
1014 B
Diff
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 168b422ac9f3f98630c4d05b64a9f0470b20fe61..2977e5986958cbee987893dd9de1dfb3764b291d 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 - Fix nerfed slime when splitting
|
|
entityslime.setCustomName(ichatbasecomponent);
|
|
entityslime.setNoAi(flag);
|
|
entityslime.setInvulnerable(this.isInvulnerable());
|