From f8a55d36458c47e425aad7cca909909eab57b048 Mon Sep 17 00:00:00 2001 From: Trigary Date: Fri, 5 Feb 2021 22:12:13 +0100 Subject: [PATCH] fix dead slime setSize invincibility --- .../src/main/java/org/bukkit/craftbukkit/entity/CraftSlime.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftSlime.java b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftSlime.java index 3d9b7c0e12..e48f7d1cbe 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftSlime.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftSlime.java @@ -16,7 +16,7 @@ public class CraftSlime extends CraftMob implements Slime, CraftEnemy { @Override public void setSize(int size) { - this.getHandle().setSize(size, true); + this.getHandle().setSize(size, /* true */ getHandle().isAlive()); // Paper - fix dead slime setSize invincibility } @Override