diff --git a/Plugin.cs b/Plugin.cs index 04bc871..f81788a 100644 --- a/Plugin.cs +++ b/Plugin.cs @@ -139,7 +139,8 @@ private void OnHousingWardInfo(IntPtr dataPtr) private void OnFoundOpenHouse(HousingWardInfo wardInfo, HouseInfoEntry houseInfoEntry, int plotNumber) { - var districtName = this.territories.GetRow((uint)wardInfo.LandIdent.TerritoryTypeId).PlaceName.Value.NameNoArticle; + var place = this.territories.GetRow((uint)wardInfo.LandIdent.TerritoryTypeId).PlaceName.Value; + var districtName = place.NameNoArticle.RawString.Length > 0 ? place.NameNoArticle : place.Name; // languages like German do not use NameNoArticle (#2) var worldName = this.worlds.GetRow((uint)wardInfo.LandIdent.WorldId).Name; // gross way of getting the landset from the territorytype but the game does not send the correct landsetid diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index c4e9f94..a830512 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.0.2.2")] -[assembly: AssemblyFileVersion("0.0.2.2")] +[assembly: AssemblyVersion("0.0.2.3")] +[assembly: AssemblyFileVersion("0.0.2.3")] diff --git a/autoSweep.json b/autoSweep.json index 4e357b0..5fecdcc 100644 --- a/autoSweep.json +++ b/autoSweep.json @@ -3,7 +3,7 @@ "Name": "PaissaHouse", "Description": "Makes note of open houses when viewing a housing ward from an aetheryte.", "InternalName": "autoSweep", - "AssemblyVersion": "0.0.2.2", + "AssemblyVersion": "0.0.2.3", "RepoUrl": "https://github.com/mommothazaz123/FFXIV_AutoSweep", "ApplicableVersion": "any", "Tags": ["housing"],