fix: Fixes professions indexing (#1885)

This commit is contained in:
Kamron Batman 2024-07-23 20:45:34 -07:00 committed by GitHub
parent 7dfb45d4eb
commit bbcf5da7d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,16 +50,7 @@ public class ProfessionInfo
static ProfessionInfo()
{
var profs = new List<ProfessionInfo>
{
new()
{
ID = 0, // Custom
Name = "Advanced",
TopLevel = false,
GumpID = 5571
}
};
List<ProfessionInfo> profs = [];
var file = Core.FindDataFile("prof.txt", false);
if (!File.Exists(file))