diff options
Diffstat (limited to 'nms-patches/EntityIllagerIllusioner.patch')
-rw-r--r-- | nms-patches/EntityIllagerIllusioner.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/nms-patches/EntityIllagerIllusioner.patch b/nms-patches/EntityIllagerIllusioner.patch new file mode 100644 index 00000000..33651b67 --- /dev/null +++ b/nms-patches/EntityIllagerIllusioner.patch @@ -0,0 +1,20 @@ +--- 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() { +@@ -199,7 +199,7 @@ + } + + 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 |