NullReferenceException at SetBlockedCommandsFixed

PhoneCommands was compiled successfully in 1908ms

Failed to call hook 'OnServerInitialized' on plugin 'PhoneCommands v0.0.7' (ArgumentException: An item with the same key has already been added. Key: at) at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in :0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in :0
at Oxide.Plugins.PhoneCommands.SetBlockedCommands (Oxide.Plugins.PhoneCommands+PhoneCommandConfig command) [0x0005f] in <6c1093c3ee5547fb9b76dd1081865fb6>:0
at Oxide.Plugins.PhoneCommands.RegisterCommand (Oxide.Plugins.PhoneCommands+PhoneCommandConfig command, Telephone telephone, System.Collections.Generic.Dictionary`2[TKey,TValue] phones) [0x0007c] in <6c1093c3ee5547fb9b76dd1081865fb6>:0
at Oxide.Plugins.PhoneCommands.RegisterPhoneComands () [0x0013b] in <6c1093c3ee5547fb9b76dd1081865fb6>:0
at Oxide.Plugins.PhoneCommands.OnServerInitialized () [0x0001a] in <6c1093c3ee5547fb9b76dd1081865fb6>:0
at Oxide.Plugins.PhoneCommands.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0008d] in <6c1093c3ee5547fb9b76dd1081865fb6>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in :0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <46ff2b534abb4b35952608167523b7ec>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <46ff2b534abb4b35952608167523b7ec>:0

Loaded plugin Phone Commands v0.0.7 by marcuzz

 

I started with 0.0.7 and installed it on my server and an error occurred.

While this error is occurring, nothing but the default settings will be loaded.

Solved in 0.0.8.

Thanks for reporting!

marcuzz

Solved in 0.0.8.

Thanks for reporting!

Fixed! ;)

Locked automatically