Skip to content

Commit

Permalink
Remove depreciated hook
Browse files Browse the repository at this point in the history
  • Loading branch information
MrBlue committed Jan 4, 2024
1 parent fcf7453 commit feaa5b5
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/RustHooks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -638,16 +638,5 @@ private void OnServerInformationUpdated()
}

#endregion Server Hooks

#region Depricated Hooks

[HookMethod( "OnMapMarkerRemove" )]
private object OnMapMarkerRemove(BasePlayer player, List<ProtoBuf.MapNote> mapMarker, int index)
{
return Interface.Oxide.CallDeprecatedHook("OnMapMarkerRemove", "OnMapMarkerRemove(BasePlayer player, List<MapNote> mapMarker, int index)",
new DateTime(2023, 12, 31), player, mapMarker[index]);
}

#endregion
}
}

0 comments on commit feaa5b5

Please sign in to comment.