aboutsummaryrefslogtreecommitdiffhomepage
path: root/patch-remap/og/net/minecraft/world/entity/monster/EntityIllagerIllusioner.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch-remap/og/net/minecraft/world/entity/monster/EntityIllagerIllusioner.patch')
-rw-r--r--patch-remap/og/net/minecraft/world/entity/monster/EntityIllagerIllusioner.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/patch-remap/og/net/minecraft/world/entity/monster/EntityIllagerIllusioner.patch b/patch-remap/og/net/minecraft/world/entity/monster/EntityIllagerIllusioner.patch
new file mode 100644
index 0000000000..a749b7a0e5
--- /dev/null
+++ b/patch-remap/og/net/minecraft/world/entity/monster/EntityIllagerIllusioner.patch
@@ -0,0 +1,20 @@
+--- a/net/minecraft/world/entity/monster/EntityIllagerIllusioner.java
++++ b/net/minecraft/world/entity/monster/EntityIllagerIllusioner.java
+@@ -228,7 +228,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
+@@ -279,7 +279,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