2017-07-08 14:40:54 +02:00
|
|
|
--- a/net/minecraft/server/EntityEvokerFangs.java
|
|
|
|
+++ b/net/minecraft/server/EntityEvokerFangs.java
|
|
|
|
@@ -108,7 +108,9 @@
|
|
|
|
|
2018-07-15 02:00:00 +02:00
|
|
|
if (entityliving.isAlive() && !entityliving.bl() && entityliving != entityliving1) {
|
2017-07-08 14:40:54 +02:00
|
|
|
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;
|