Fix a bug
This commit is contained in:
parent
98875e16ac
commit
c8dde957f9
1 changed files with 1 additions and 1 deletions
|
|
@ -372,7 +372,7 @@ namespace TShockAPI
|
|||
if (item.name.ToLower() == nameLower)
|
||||
return new List<Item> {item};
|
||||
if (item.name.ToLower().StartsWith(nameLower))
|
||||
found.Add(item);
|
||||
found.Add((Item)item.Clone());
|
||||
}
|
||||
return found;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue