mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2026-02-20 14:37:46 +01:00
Fix very stupid bug with shields.
This commit is contained in:
parent
55af7f7371
commit
8e736c62c6
2 changed files with 5 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ public class ItemManager : IDisposable
|
|||
if (itemId == NothingId(type))
|
||||
return NothingItem(type);
|
||||
|
||||
if (!ItemService.AwaitedService.TryGetValue(itemId, false, out var item))
|
||||
if (!ItemService.AwaitedService.TryGetValue(itemId, type is FullEquipType.Shield, out var item))
|
||||
return new EquipItem(string.Intern($"Unknown #{itemId}"), itemId, 0, 0, 0, 0, 0);
|
||||
|
||||
if (item.Type != type)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue