Updated for 1.6
- Bump Dependency - Bump target framework to NET6.0 - Replace getExtraMillisecondsPerInGameMinuteForThisLocation with corresponding property
This commit is contained in:
parent
f4c9868f6a
commit
9a02f8008c
|
@ -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<long, (bool STP, int GTI)> playerTimeData = new();
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" Version="4.0.1" />
|
||||
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" Version="4.1.1" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue
Block a user