fix(core): Fixes insensitive type lookup (#425)
This commit is contained in:
parent
3cc09bf606
commit
c6ef6ff80a
1 changed files with 1 additions and 1 deletions
|
|
@ -293,7 +293,7 @@ namespace Server
|
|||
{
|
||||
_cache = cache;
|
||||
|
||||
var map = ignoreCase ? _cache._nameMap : _cache._nameMapInsensitive;
|
||||
var map = ignoreCase ? _cache._nameMapInsensitive : _cache._nameMap;
|
||||
_values = map.TryGetValue(name, out var values) ? values : Array.Empty<int>();
|
||||
_index = 0;
|
||||
_current = default;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue