fix: Ambiguous AddRes signatures causing bad necro regs display (#1395)

This commit is contained in:
mark1145 2023-04-19 07:42:01 +10:00 • committed by GitHub
parent cc6fee28d4
commit 5b3ff89e70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 11 deletions

View file

@ -247,11 +247,6 @@ namespace Server.Engines.Craft
CraftItems[index].RequiredExpansion = expansion;
}
public void AddRes(int index, Type type, TextDefinition name, int amount)
{
AddRes(index, type, name, amount, "");
}
public void AddRes(int index, Type type, TextDefinition name, int amount, TextDefinition message)
{
CraftItems[index].AddRes(type, name, amount, message);