Commits
coll1234567 authored and md_5 committed cdf7988007f
1 1 | --- a/net/minecraft/world/entity/projectile/EntityEvokerFangs.java |
2 2 | +++ b/net/minecraft/world/entity/projectile/EntityEvokerFangs.java |
3 + | |
4 + | public static final int ATTACK_DURATION = 20; |
5 + | public static final int LIFE_OFFSET = 2; |
6 + | public static final int ATTACK_TRIGGER_TICKS = 14; |
7 + | - private int warmupDelayTicks; |
8 + | + public int warmupDelayTicks; |
9 + | private boolean sentSpikeEvent; |
10 + | private int lifeTicks; |
11 + | private boolean clientSideAttackStarted; |
3 12 | |
4 13 | |
5 14 | if (entityliving.isAlive() && !entityliving.isInvulnerable() && entityliving != entityliving1) { |
6 15 | if (entityliving1 == null) { |
7 16 | + org.bukkit.craftbukkit.event.CraftEventFactory.entityDamage = this; // CraftBukkit |
8 17 | entityliving.hurt(this.damageSources().magic(), 6.0F); |
9 18 | + org.bukkit.craftbukkit.event.CraftEventFactory.entityDamage = null; // CraftBukkit |
10 19 | } else { |
11 20 | if (entityliving1.isAlliedTo((Entity) entityliving)) { |
12 21 | return; |