Skip to content

Commit

Permalink
- Fixed optional parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
agilbert1412 committed Jun 5, 2024
1 parent c1e5af7 commit e96b508
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion StardewArchipelago/Archipelago/ArchipelagoClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,12 @@ public void ReportGoalCompletion()
_session.Socket.SendPacket(statusUpdatePacket);
}

public string GetLocationName(long locationId, bool required = true)
public string GetLocationName(long locationId)
{
return GetLocationName(locationId, true);
}

public string GetLocationName(long locationId, bool required)
{
if (!MakeSureConnected())
{
Expand Down

0 comments on commit e96b508

Please sign in to comment.