Brief refactor for readability.

master
bradjrenshaw 2022-05-08 19:31:04 -04:00
parent 43c3dbb0d8
commit 72f1835929
1 changed files with 1 additions and 1 deletions

View File

@ -433,7 +433,7 @@ namespace stardew_access.Features
else if (Game1.currentLocation is IslandLocation islandLocation) else if (Game1.currentLocation is IslandLocation islandLocation)
{ {
var nutTracker = Game1.player.team.collectedNutTracker; var nutTracker = Game1.player.team.collectedNutTracker;
if (islandLocation.IsBuriedNutLocation(new Point(x, y)) && !nutTracker.ContainsKey("Buried_" + islandLocation.Name + "_" + x + "_" + y)) if (islandLocation.IsBuriedNutLocation(new Point(x, y)) && !nutTracker.ContainsKey($"Buried_{islandLocation.Name}_{x}_{y}"))
{ {
return (CATEGORY.Interactables, "Diggable spot"); return (CATEGORY.Interactables, "Diggable spot");
} }