mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-24 01:47:42 +01:00
13 lines
645 B
Diff
13 lines
645 B
Diff
--- a/net/minecraft/server/EntityEvokerFangs.java
|
|
+++ b/net/minecraft/server/EntityEvokerFangs.java
|
|
@@ -114,7 +114,9 @@
|
|
|
|
if (entityliving.isAlive() && !entityliving.isInvulnerable() && entityliving != entityliving1) {
|
|
if (entityliving1 == null) {
|
|
+ org.bukkit.craftbukkit.event.CraftEventFactory.entityDamage = this; // CraftBukkit
|
|
entityliving.damageEntity(DamageSource.MAGIC, 6.0F);
|
|
+ org.bukkit.craftbukkit.event.CraftEventFactory.entityDamage = null; // CraftBukkit
|
|
} else {
|
|
if (entityliving1.r(entityliving)) {
|
|
return;
|