aboutsummaryrefslogtreecommitdiffhomepage
path: root/patch-remap/og/net/minecraft/world/entity/projectile/EntityEvokerFangs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch-remap/og/net/minecraft/world/entity/projectile/EntityEvokerFangs.patch')
-rw-r--r--patch-remap/og/net/minecraft/world/entity/projectile/EntityEvokerFangs.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/patch-remap/og/net/minecraft/world/entity/projectile/EntityEvokerFangs.patch b/patch-remap/og/net/minecraft/world/entity/projectile/EntityEvokerFangs.patch
new file mode 100644
index 0000000000..89000e6e43
--- /dev/null
+++ b/patch-remap/og/net/minecraft/world/entity/projectile/EntityEvokerFangs.patch
@@ -0,0 +1,12 @@
+--- a/net/minecraft/world/entity/projectile/EntityEvokerFangs.java
++++ b/net/minecraft/world/entity/projectile/EntityEvokerFangs.java
+@@ -129,7 +129,9 @@
+
+ if (entityliving.isAlive() && !entityliving.isInvulnerable() && entityliving != entityliving1) {
+ if (entityliving1 == null) {
++ org.bukkit.craftbukkit.event.CraftEventFactory.entityDamage = this; // CraftBukkit
+ entityliving.hurt(this.damageSources().magic(), 6.0F);
++ org.bukkit.craftbukkit.event.CraftEventFactory.entityDamage = null; // CraftBukkit
+ } else {
+ if (entityliving1.isAlliedTo((Entity) entityliving)) {
+ return;