mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-25 09:34:44 +01:00
8b26bb8f3e
By: md_5 <git@md-5.net>
12 lines
689 B
Diff
12 lines
689 B
Diff
--- a/net/minecraft/world/entity/projectile/EntityEvokerFangs.java
|
|
+++ b/net/minecraft/world/entity/projectile/EntityEvokerFangs.java
|
|
@@ -128,7 +128,9 @@
|
|
|
|
if (entityliving.isAlive() && !entityliving.isInvulnerable() && entityliving != entityliving1) {
|
|
if (entityliving1 == null) {
|
|
+ org.bukkit.craftbukkit.event.CraftEventFactory.entityDamage = this; // CraftBukkit
|
|
entityliving.hurt(DamageSource.MAGIC, 6.0F);
|
|
+ org.bukkit.craftbukkit.event.CraftEventFactory.entityDamage = null; // CraftBukkit
|
|
} else {
|
|
if (entityliving1.isAlliedTo((Entity) entityliving)) {
|
|
return;
|