Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-22 14:28:09 +01:00
21 Zeilen
896 B
Diff
21 Zeilen
896 B
Diff
|
--- 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
|