OnRecycleItem hook behavior changedFixed

new oxide code

        if (Interface.CallHook("OnRecycleItem", (object) this, (object) slot2) != null && !this.HasRecyclable())
        {
          this.StopRecycling();
          return;
        }

old one:

 

        if (Interface.CallHook("OnRecycleItem", (object) this, (object) slot2) != null)
        {
          if (this.HasRecyclable())
            return;
          this.StopRecycling();
          return;
        }

with new code u cant override behavior @Wulf

I've been looking into it, but looks like we can't fix it until we fix an issue with the patcher.
thanks
Locked automatically