mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-23 11:06:29 +01:00
be13705177
Upstream has released updates that appear to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing CraftBukkit Changes: 6b8cd9a7 SPIGOT-6207: forcibly drop the items of a converted zombie villager
19 lines
993 B
Diff
19 lines
993 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/EntitySlime.java b/src/main/java/net/minecraft/world/entity/monster/EntitySlime.java
|
|
index 40e39e382092b1a8f831da0cea1557a781c98600..0af0b232ff1b6f1d58cf3fb543d32bd108be0af7 100644
|
|
--- a/src/main/java/net/minecraft/world/entity/monster/EntitySlime.java
|
|
+++ b/src/main/java/net/minecraft/world/entity/monster/EntitySlime.java
|
|
@@ -246,6 +246,7 @@ public class EntitySlime extends EntityInsentient implements IMonster {
|
|
entityslime.setPersistent();
|
|
}
|
|
|
|
+ entityslime.aware = this.aware; // Paper
|
|
entityslime.setCustomName(ichatbasecomponent);
|
|
entityslime.setNoAI(flag);
|
|
entityslime.setInvulnerable(this.isInvulnerable());
|