Fixed minor code warnings
parent
f2ba3e8793
commit
1ea07533bb
|
@ -770,7 +770,7 @@ namespace stardew_access.Features
|
||||||
}
|
}
|
||||||
else if (obj is IndoorPot indoorPot)
|
else if (obj is IndoorPot indoorPot)
|
||||||
{
|
{
|
||||||
toReturn.name = $"{obj.DisplayName}, {getHoeDirtDetail(indoorPot.hoeDirt, true)}";
|
toReturn.name = $"{obj.DisplayName}, {getHoeDirtDetail(indoorPot.hoeDirt.Value, true)}";
|
||||||
}
|
}
|
||||||
else if (obj is Sign sign)
|
else if (obj is Sign sign)
|
||||||
{
|
{
|
||||||
|
|
|
@ -13,6 +13,7 @@ namespace stardew_access
|
||||||
public class MainClass : Mod
|
public class MainClass : Mod
|
||||||
{
|
{
|
||||||
#region Global Vars & Properties
|
#region Global Vars & Properties
|
||||||
|
#pragma warning disable CS8603
|
||||||
private static ModConfig? config;
|
private static ModConfig? config;
|
||||||
private Harmony? harmony;
|
private Harmony? harmony;
|
||||||
private static IMonitor? monitor;
|
private static IMonitor? monitor;
|
||||||
|
@ -96,6 +97,7 @@ namespace stardew_access
|
||||||
return warnings;
|
return warnings;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#pragma warning restore CS8603
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
/*********
|
/*********
|
||||||
|
|
Loading…
Reference in New Issue