[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
Contributor

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
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: liza/Deliveroo#3
No description provided.