1. If you try to repair metal window bars you get a error for the following hook:

    OnStructureRepair
    [05/12/2016 23:58:28] [Oxide] 23:58 [Error] Failed to call hook 'OnStructureRepair' on plugin 'DecaySystem v0.0.0' (InvalidCastException: Cannot cast from source type to destination type.)

    object OnStructureRepair(BuildingBlock Block, BasePlayer Player)
    {
    return null;
    }
     
  2. Wulf

    Wulf Community Admin

    The plugin would have to update, the hook changed due to the Rust update. It uses BaseCombatEntity right now instead of BuildingBlock.
     
  3. I was wondering why this issue was popping up on HammerTime, any chance you could update it on the hooks in the docs? I checked because I thought that may be why, but I wasn't able to find any changes in docs.
     
  4. Wulf

    Wulf Community Admin

    It would have been in the update notes, but I haven't been able to actually post the update yet. I will be updating the Docs, though I was hoping to deprecate it still, but I'm not sure if I can or not.