1. Insert the following on line 5...
using Oxide.Core;
using Oxide.Core.Libraries.Covalence;
using Oxide.Core.Plugins;
2. Then insert the following on what is now line 17...
private Plugin Vanish;3. Then insert the following on what is now line 124 (should be just before the "if(!skipStep)" line)...
if (!(Vanish?.Call<bool>("IsInvisible", player) ?? false))
{
SetHostility(player, false);
skipStep = true;
}