Skip to content

Commit

Permalink
Update AdminGump.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Bohicatv authored Jan 12, 2025
1 parent 5c15731 commit a2aebab
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Projects/UOContent/Gumps/AdminGump.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3937,32 +3937,32 @@ private void GenerateSpawners()
var availableMaps = ExpansionInfo.CoreExpansion.MapSelectionFlags;
if (Core.SA && availableMaps.Includes(MapSelectionFlags.TerMur))
{
InvokeCommand("GenerateSpawners Data/Spawns/post-uoml/termur/*.json");
InvokeCommand("GenerateSpawners Data/Spawns/post-uoml/termur/**.json");
}

if (availableMaps.Includes(MapSelectionFlags.Malas))
{
InvokeCommand($"GenerateSpawners Data/Spawns/{folder}/malas/*.json");
InvokeCommand($"GenerateSpawners Data/Spawns/{folder}/malas/**.json");
}

if (availableMaps.Includes(MapSelectionFlags.Tokuno))
{
InvokeCommand($"GenerateSpawners Data/Spawns/{folder}/tokuno/*.json");
InvokeCommand($"GenerateSpawners Data/Spawns/{folder}/tokuno/**.json");
}

if (availableMaps.Includes(MapSelectionFlags.Ilshenar))
{
InvokeCommand($"GenerateSpawners Data/Spawns/{folder}/ilshenar/*.json");
InvokeCommand($"GenerateSpawners Data/Spawns/{folder}/ilshenar/**.json");
}

if (availableMaps.Includes(MapSelectionFlags.Trammel))
{
InvokeCommand($"GenerateSpawners Data/Spawns/{folder}/trammel/*.json");
InvokeCommand($"GenerateSpawners Data/Spawns/{folder}/trammel/**.json");
}

if (availableMaps.Includes(MapSelectionFlags.Felucca))
{
InvokeCommand($"GenerateSpawners Data/Spawns/{folder}/felucca/*.json");
InvokeCommand($"GenerateSpawners Data/Spawns/{folder}/felucca/**.json");
}
}

Expand Down

0 comments on commit a2aebab

Please sign in to comment.