2018-07-20 08:04:37 +02:00
|
|
|
--- a/net/minecraft/server/EntityIllagerIllusioner.java
|
|
|
|
+++ b/net/minecraft/server/EntityIllagerIllusioner.java
|
|
|
|
@@ -164,7 +164,7 @@
|
|
|
|
}
|
|
|
|
|
|
|
|
protected void j() {
|
|
|
|
- EntityIllagerIllusioner.this.getGoalTarget().addEffect(new MobEffect(MobEffects.BLINDNESS, 400));
|
|
|
|
+ EntityIllagerIllusioner.this.getGoalTarget().addEffect(new MobEffect(MobEffects.BLINDNESS, 400), org.bukkit.event.entity.EntityPotionEffectEvent.Cause.ATTACK); // CraftBukkit
|
|
|
|
}
|
|
|
|
|
|
|
|
protected SoundEffect k() {
|
2018-12-13 01:00:00 +01:00
|
|
|
@@ -195,7 +195,7 @@
|
2018-07-20 08:04:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
protected void j() {
|
|
|
|
- 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
|