mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +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)
|
foreach (var place in matches)
|
||||||
{
|
{
|
||||||
var map = mapSheet.FirstOrDefault(row => row.PlaceName.Row == place.RowId);
|
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);
|
return CreateMapLink(map.TerritoryType.Row, map.RowId, xCoord, yCoord, fudgeFactor);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue