From 9a02f8008c08a8be667c56347f0757494bb3c242 Mon Sep 17 00:00:00 2001 From: adro Date: Mon, 8 Apr 2024 21:16:11 +0200 Subject: [PATCH] Updated for 1.6 - Bump Dependency - Bump target framework to NET6.0 - Replace getExtraMillisecondsPerInGameMinuteForThisLocation with corresponding property --- ModEntry.cs | 2 +- Relativity.csproj | 4 ++-- manifest.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ModEntry.cs b/ModEntry.cs index 1b953ef..ac8bba7 100644 --- a/ModEntry.cs +++ b/ModEntry.cs @@ -9,7 +9,7 @@ namespace Relativity public class ModEntry : Mod { // GTI = GameTickInterval, STP = ShouldTimePass - private static int LocalGTI => 7000 + (Game1.currentLocation?.getExtraMillisecondsPerInGameMinuteForThisLocation() ?? 0); + private static int LocalGTI => 7000 + (Game1.currentLocation?.ExtraMillisecondsPerInGameMinute ?? 0); private static bool LocalSTP => Game1.shouldTimePass(true); private readonly Dictionary playerTimeData = new(); diff --git a/Relativity.csproj b/Relativity.csproj index a501927..cf6fdb2 100644 --- a/Relativity.csproj +++ b/Relativity.csproj @@ -1,11 +1,11 @@ - net5.0 + net6.0 - + diff --git a/manifest.json b/manifest.json index 2942933..6915b21 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "Name": "Relativity", "Author": "AdroSlice", - "Version": "1.0.1", + "Version": "1.0.2", "Description": "Slows down multiplayer time based on how many players would normally not have time pass in singleplayer.", "UniqueID": "AdroSlice.Relativity", "EntryDll": "Relativity.dll",