Commits

md_5 authored f9cb6f34125
SPIGOT-7777: All entity potion effects are removed on death
No tags

src/main/java/org/bukkit/event/entity/EntityPotionEffectEvent.java

Modified
185 185 /**
186 186 * When the entity gets the effect from a conduit.
187 187 */
188 188 CONDUIT,
189 189 /**
190 190 * When a conversion from a villager zombie to a villager is started or
191 191 * finished.
192 192 */
193 193 CONVERSION,
194 194 /**
195 - * When all effects are removed due to death (Note: This is called on
196 - * respawn, so it's player only!)
195 + * When all effects are removed due to death.
197 196 */
198 197 DEATH,
199 198 /**
200 199 * When the entity gets the effect from a dolphin.
201 200 */
202 201 DOLPHIN,
203 202 /**
204 203 * When the effect was removed due to expiration.
205 204 */
206 205 EXPIRATION,

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut