Decay doesn't workFixed

The decay doesn't work when I update the plugin, please fix it.
very annoying to have to adjust this yourself every time in the .cs
The solution was suggested 9 months ago by SupSquare.

Alright I managed to fix this myself, just replace OnEntityDamage line 427 with this :

object OnEntityTakeDamage(BaseCombatEntity entity, HitInfo hitInfo)
{
    if (hitInfo == null)
        return null;
    if (entity == null)
        return null;
    if (!hitInfo.damageTypes.Has(Rust.DamageType.Decay))
    {
        if (IsBlocked(entity))
            return OnStructureAttack(entity, hitInfo);
    }
    return null;
}

Base are decaying correctly and also being protected from offline raid.

Sorry I must have missed this.. I will add this next version..

Locked automatically