diff --git a/BeatSaberDiscordPresence/Plugin.cs b/BeatSaberDiscordPresence/Plugin.cs index 3f15ebb..5b520c2 100644 --- a/BeatSaberDiscordPresence/Plugin.cs +++ b/BeatSaberDiscordPresence/Plugin.cs @@ -62,7 +62,7 @@ public void Init(IPA.Logging.Logger log) DiscordRpc.Initialize(DiscordAppID, ref handlers, false, string.Empty); logger.Info("Fetching nonpublic fields"); - _gameplayCoreSceneSetupDataField = typeof(SceneSetup).GetField("_sceneSetupData", BindingFlags.NonPublic | BindingFlags.Instance); + _gameplayCoreSceneSetupDataField = typeof(GameplayCoreSceneSetup).GetField("_sceneSetupData", BindingFlags.NonPublic | BindingFlags.Instance); _oneColorBeatmapCharacteristic = typeof(GameplayCoreSceneSetup).GetField("_oneColorBeatmapCharacteristic", BindingFlags.NonPublic | BindingFlags.Instance); #if DEBUG logger.Debug("Discord Presence - Field SceneSetup._sceneSetupData: " + _gameplayCoreSceneSetupDataField); diff --git a/BeatSaberDiscordPresence/manifest.json b/BeatSaberDiscordPresence/manifest.json index 2070f87..1593184 100644 --- a/BeatSaberDiscordPresence/manifest.json +++ b/BeatSaberDiscordPresence/manifest.json @@ -2,12 +2,12 @@ "$schema": "https://raw.githubusercontent.com/nike4613/ModSaber-MetadataFileSchema/master/Schema.json", "author": "Alppuccino", "description": "Adds Discord Rich Presence to Beat Saber.", - "gameVersion": "1.4.2", + "gameVersion": "1.6.0", "id": "BeatSaberDiscordPresence", "name": "Discord Presence", - "version": "2.2.2", + "version": "2.2.3", "features": [], "links": { "project-home": "https://github.com/Alppuccino/BeatSaberDiscordPresence" } -} \ No newline at end of file +}