Hi,
I am trying to block Workbench Levels (1, 2, 3) and only unlock later manualy. But its still unlocked when having this in the config:
,
"workbench1": {
"defaultBP": false,
"canResearch": false,
"scrapRequired": 0,
"unlockMinutesAfterWipe": -1,
"autoUnlockMinutesAfterWipe": false
},
"workbench2": {
"defaultBP": false,
"canResearch": false,
"scrapRequired": 0,
"unlockMinutesAfterWipe": -1,
"autoUnlockMinutesAfterWipe": false
},
"workbench3": {
"defaultBP": false,
"canResearch": false,
"scrapRequired": 0,
"unlockMinutesAfterWipe": -1,
"autoUnlockMinutesAfterWipe": false
},And reloading the plugin using oxide.reload BlueprintManager, I get this error in the console sometimes:
(23:46:26) | Unloaded plugin Blueprint Manager v2.1.3 by Whispers88
(23:46:26) | Failed to call hook 'OnServerInitialized' on plugin 'BlueprintManager v2.1.3' (ArgumentException: An item with the same key has already been added. Key: -1478212975)
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000dd] in <8ce0bd04a7a04b4b9395538239d3fdd8>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <8ce0bd04a7a04b4b9395538239d3fdd8>:0
at Oxide.Plugins.BlueprintManager.OnServerInitialized () [0x003eb] in <4629d9cba8b14fdbba65f50a49090220>:0
at Oxide.Plugins.BlueprintManager.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0006a] in <4629d9cba8b14fdbba65f50a49090220>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <206a0f2c6ee141f38e2ad549cde44d70>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0
(23:46:26) | Loaded plugin Blueprint Manager v2.1.3 by Whispers88I would really appreciate some help.
Thanks a lot.