mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 12:02:36 +01:00
eed041d629
By: md_5 <git@md-5.net>
20 lines
1,010 B
Diff
20 lines
1,010 B
Diff
--- a/net/minecraft/world/entity/monster/EntityIllagerIllusioner.java
|
|
+++ b/net/minecraft/world/entity/monster/EntityIllagerIllusioner.java
|
|
@@ -217,7 +217,7 @@
|
|
|
|
@Override
|
|
protected void performSpellCasting() {
|
|
- EntityIllagerIllusioner.this.addEffect(new MobEffect(MobEffects.INVISIBILITY, 1200));
|
|
+ EntityIllagerIllusioner.this.addEffect(new MobEffect(MobEffects.INVISIBILITY, 1200), org.bukkit.event.entity.EntityPotionEffectEvent.Cause.ILLUSION); // CraftBukkit
|
|
}
|
|
|
|
@Nullable
|
|
@@ -268,7 +268,7 @@
|
|
|
|
@Override
|
|
protected void performSpellCasting() {
|
|
- EntityIllagerIllusioner.this.getTarget().addEffect(new MobEffect(MobEffects.BLINDNESS, 400), EntityIllagerIllusioner.this);
|
|
+ EntityIllagerIllusioner.this.getTarget().addEffect(new MobEffect(MobEffects.BLINDNESS, 400), EntityIllagerIllusioner.this, org.bukkit.event.entity.EntityPotionEffectEvent.Cause.ATTACK); // CraftBukkit
|
|
}
|
|
|
|
@Override
|