@@ -0,0 +1,1099 @@
+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.base.SimpleBlockDamageInfo;%0Aimport org.bukkit.entity.LivingEntity;%0Aimport org.bukkit.event.entity.EntityDamageByBlockEvent;%0Aimport org.bukkit.event.entity.EntityDamageEvent;%0Aimport org.bukkit.event.entity.EntityDamageEvent.DamageCause;%0A%0Aimport javax.annotation.Nonnull;%0Aimport javax.annotation.Nullable;%0A%0Apublic class BlockDamageResolver implements DamageResolver %7B%0A    public @Nullable%0A    DamageInfo resolve(@Nonnull LivingEntity entity, @Nonnull Lifetime lifetime, @Nonnull EntityDamageEvent damageEvent) %7B%0A        if(damageEvent instanceof EntityDamageByBlockEvent && damageEvent.getCause() == DamageCause.CONTACT) %7B%0A            EntityDamageByBlockEvent blockEvent = (EntityDamageByBlockEvent) damageEvent;%0A%0A            return new SimpleBlockDamageInfo(blockEvent.getDamager().getState());%0A        %7D%0A%0A        return null;%0A    %7D%0A%7D%0A

Create BlockDamageResolver.java