When a stone is thrown, the following code becomes true.
info.Weapon == null
I understand that this means that info.Weapon is null.
However, info.Weapon.skinID works normally in this state.
Why doesn’t a NullReferenceException occur?
void OnPlayerAttack(BasePlayer attacker, HitInfo info)
Message(attacker,(info.Weapon == null).ToString()); // stone is thrown --> true
var skin = info.Weapon.skinID;