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",