diff --git a/stardew-access/Features/TileInfo.cs b/stardew-access/Features/TileInfo.cs index 1ac2250..afb8b1f 100644 --- a/stardew-access/Features/TileInfo.cs +++ b/stardew-access/Features/TileInfo.cs @@ -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) { diff --git a/stardew-access/ModEntry.cs b/stardew-access/ModEntry.cs index 05858f1..a6683e5 100644 --- a/stardew-access/ModEntry.cs +++ b/stardew-access/ModEntry.cs @@ -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 /*********