Fixed minor code warnings
This commit is contained in:
@@ -770,7 +770,7 @@ namespace stardew_access.Features
|
||||
}
|
||||
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)
|
||||
{
|
||||
|
@@ -13,6 +13,7 @@ namespace stardew_access
|
||||
public class MainClass : Mod
|
||||
{
|
||||
#region Global Vars & Properties
|
||||
#pragma warning disable CS8603
|
||||
private static ModConfig? config;
|
||||
private Harmony? harmony;
|
||||
private static IMonitor? monitor;
|
||||
@@ -96,6 +97,7 @@ namespace stardew_access
|
||||
return warnings;
|
||||
}
|
||||
}
|
||||
#pragma warning restore CS8603
|
||||
#endregion
|
||||
|
||||
/*********
|
||||
|
Reference in New Issue
Block a user