@@ -0,0 +1,1540 @@
+package deterno.fight.tgm.damage.tracker.damage.resolvers;%0A%0Aimport deterno.fight.tgm.damage.tracker.DamageInfo;%0Aimport deterno.fight.tgm.damage.tracker.DamageResolver;%0Aimport deterno.fight.tgm.damage.tracker.Lifetime;%0Aimport deterno.fight.tgm.damage.tracker.damage.AnvilDamageInfo;%0Aimport deterno.fight.tgm.damage.tracker.trackers.AnvilTracker;%0Aimport org.bukkit.OfflinePlayer;%0Aimport org.bukkit.entity.FallingBlock;%0Aimport org.bukkit.entity.LivingEntity;%0Aimport org.bukkit.entity.Player;%0Aimport org.bukkit.event.entity.EntityDamageByEntityEvent;%0Aimport org.bukkit.event.entity.EntityDamageEvent;%0A%0Apublic class AnvilDamageResolver implements DamageResolver %7B%0A    private final AnvilTracker anvilTracker;%0A%0A    public AnvilDamageResolver(AnvilTracker anvilTracker) %7B%0A        this.anvilTracker = anvilTracker;%0A    %7D%0A%0A    public DamageInfo resolve(LivingEntity entity, Lifetime lifetime, EntityDamageEvent damageEvent) %7B%0A        if(damageEvent instanceof EntityDamageByEntityEvent) %7B%0A            EntityDamageByEntityEvent event = (EntityDamageByEntityEvent) damageEvent;%0A%0A            if(event.getDamager() instanceof FallingBlock) %7B%0A                FallingBlock anvil = (FallingBlock) event.getDamager();%0A                OfflinePlayer offlineOwner = this.anvilTracker.getOwner(anvil);%0A                Player onlineOwner = null;%0A%0A                if(offlineOwner != null) onlineOwner = offlineOwner.getPlayer();%0A%0A                return new AnvilDamageInfo(anvil, onlineOwner, offlineOwner);%0A            %7D%0A        %7D%0A%0A        return null;%0A    %7D%0A%0A%7D%0A

Create AnvilDamageResolver.java