mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
19 lines
933 B
Diff
19 lines
933 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/server/EntitySlime.java b/src/main/java/net/minecraft/server/EntitySlime.java
|
||
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||
|
--- a/src/main/java/net/minecraft/server/EntitySlime.java
|
||
|
+++ b/src/main/java/net/minecraft/server/EntitySlime.java
|
||
|
@@ -0,0 +0,0 @@ public class EntitySlime extends EntityInsentient implements IMonster {
|
||
|
entityslime.setPersistent();
|
||
|
}
|
||
|
|
||
|
+ entityslime.aware = this.aware; // Paper
|
||
|
entityslime.setCustomName(ichatbasecomponent);
|
||
|
entityslime.setNoAI(flag);
|
||
|
entityslime.setInvulnerable(this.isInvulnerable());
|