I realized after doing some tests changing foods / berries that some berries cannot be repeated between different diseases:
for example: anthrax we put white / blue berry.
Norovirus we also put those berries.
(in itemsThatReduceInfectionTimeOnConsumption)
If you get infected with Anthrax and consume any of the berries that I put, this will detect this in the console:
Failed to call hook 'OnItemUse' on plugin 'Diseases v1.1.1' (KeyNotFoundException: The given key was not present in the dictionary.)
at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0
at Oxide.Plugins.Diseases.OnItemUse (Item item, System.Int32 amountToUse) [0x0011a] in <994bf046989d47209483044d4a205928>:0
at Oxide.Plugins.Diseases.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00808] in <994bf046989d47209483044d4a205928>:0
19kb/s out
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <80b90e8213db44b29ec2d4111764172c>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ec05e0208c9149bba43236ca58fea105>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ec05e0208c9149bba43236ca58fea105>:0
but within the game it tells you that it is effective, but it also detects that those berries belong to the other virus (Norovirus) and you are consuming that berry but without having the infection.