mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Prevent Territory with ID 0 being returned
This commit is contained in:
parent
1bd491cb56
commit
d7893115d0
1 changed files with 1 additions and 1 deletions
|
|
@ -304,7 +304,7 @@ public class SeString
|
|||
foreach (var place in matches)
|
||||
{
|
||||
var map = mapSheet.FirstOrDefault(row => row.PlaceName.Row == place.RowId);
|
||||
if (map != null)
|
||||
if (map != null && map.TerritoryType.Row != 0)
|
||||
{
|
||||
return CreateMapLink(map.TerritoryType.Row, map.RowId, xCoord, yCoord, fudgeFactor);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue