From d00f0e5fa015fe499443bdd1014ed7032ec1e88d Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Wed, 8 Nov 2017 09:05:16 +1100 Subject: [PATCH] SPIGOT-3641: Remove ambiguous entity effects & restore behaviour of DEATH By: md_5 --- .../src/main/java/org/bukkit/EntityEffect.java | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/EntityEffect.java b/paper-api/src/main/java/org/bukkit/EntityEffect.java index 561da3da5a..de419d56c0 100644 --- a/paper-api/src/main/java/org/bukkit/EntityEffect.java +++ b/paper-api/src/main/java/org/bukkit/EntityEffect.java @@ -41,11 +41,9 @@ public enum EntityEffect { *

* This will cause client-glitches! */ - DEATH(3, LivingEntity.class), - /** - * Iron golem attacking. - */ - GOLEM_ATTACK(4, IronGolem.class), + DEATH(3, Entity.class), + // PAIL - SPIGOT-3641 duplicate + // GOLEM_ATTACK(4, IronGolem.class), // 5 - unused /** * The smoke when taming a wolf fails. @@ -60,10 +58,8 @@ public enum EntityEffect { */ WOLF_SHAKE(8, Wolf.class), // 9 - unused - /** - * When an entity eats a LONG_GRASS block. - */ - SHEEP_EAT(10, LivingEntity.class), + // PAIL - SPIGOT-3641 duplicate + // SHEEP_EAT(10, LivingEntity.class), /** * When an Iron Golem gives a rose. */