NullReferenceException at chatAnimalSpawnError

"NullReferenceException: Object reference not set to an instance of an object" error

Please check your oxide/logs for the full error.
You are amazing! Your work is perfect! 
[Error] Failed to call hook 'chatAnimalSpawn' on plugin 'CustomAnimalSpawns v0.1.56' (IndexOutOfRangeException: Index was outside the bounds of the array.)
at Oxide.Plugins.CustomAnimalSpawns.chatAnimalSpawn (BasePlayer player, System.String command, System.String[] args) [0x001b2] in <4ce2ab9c9b4d4e309d4cea937f5662f9>:0
at Oxide.Plugins.CustomAnimalSpawns.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00821] in <4ce2ab9c9b4d4e309d4cea937f5662f9>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <8a646463979e4a1d9c0e2f1298e9483f>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <953329caf7d943cc9eca5c8b4b890c98>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <953329caf7d943cc9eca5c8b4b890c98>:0​