[Fix] Refactor project

This commit is contained in:
2026-03-02 12:49:12 +07:00
parent f65976796d
commit f52131f755
44 changed files with 449 additions and 404 deletions
@@ -12,11 +12,12 @@ namespace YachtDice.Modifiers.Definition
public ModifierDefinition FindById(string id)
{
for (int i = 0; i < modifiers.Count; i++)
foreach (var t in modifiers)
{
if (modifiers[i] != null && modifiers[i].Id == id)
return modifiers[i];
if (t != null && t.Id == id)
return t;
}
return null;
}
}