[F] Fix null safety in GetItemIdFromItemName #3

Merged
liza merged 1 commits from Azaneko/Deliveroo:master into master 2024-08-29 06:46:52 +00:00

The following exception happens when you use this plugin with the Chinese language pack.

2024-08-28 17:50:54.435 -04:00 [ERR] [AddonLifecycle] Exception in OnAddonSetup during PostSetup invoke.
System.Collections.Generic.KeyNotFoundException: The given key '城塞木鞋' was not present in the dictionary.
   at Deliveroo.DeliverooPlugin.GrandCompanySupplyRewardPostSetup(AddonEvent type, AddonArgs args) in X:\Deliveroo\DeliverooPlugin.GrandCompanySupplyReward.cs:line 26
   at Dalamud.Game.Addon.Lifecycle.AddonLifecycle.InvokeListenersSafely(AddonEvent eventType, AddonArgs args, String blame) in C:\goatsoft\companysecrets\dalamud\\Game\Addon\Lifecycle\AddonLifecycle.cs:line 170
The following exception happens when you use this plugin with the Chinese language pack. ``` 2024-08-28 17:50:54.435 -04:00 [ERR] [AddonLifecycle] Exception in OnAddonSetup during PostSetup invoke. System.Collections.Generic.KeyNotFoundException: The given key '城塞木鞋' was not present in the dictionary. at Deliveroo.DeliverooPlugin.GrandCompanySupplyRewardPostSetup(AddonEvent type, AddonArgs args) in X:\Deliveroo\DeliverooPlugin.GrandCompanySupplyReward.cs:line 26 at Dalamud.Game.Addon.Lifecycle.AddonLifecycle.InvokeListenersSafely(AddonEvent eventType, AddonArgs args, String blame) in C:\goatsoft\companysecrets\dalamud\\Game\Addon\Lifecycle\AddonLifecycle.cs:line 170 ```
Azaneko added 1 commit 2024-08-28 22:01:45 +00:00
liza merged commit 1b54ba9c41 into master 2024-08-29 06:46:52 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: liza/Deliveroo#3
There is no content yet.