private static void ToggleMap(MenuManagerHooks.ToggleMapLowLevelDelegate orig, MenuManager self, CharacterUI owner) { MelonModLogger.Log($"{SplitScreenManager.Instance.LocalPlayers.get_Item(self.MapOwnerPlayerID).AssignedCharacter.Name} toggled the map"); orig(self.SafePointer(), owner.SafePointer()); }