Zone Exclusions bug?

Good afternoon,

Sorry to darken your door with another post, the new version of build revert with ZoneManager exclusions is throwing an error with the standard config that it creates or if we try to create a new config. This can be replicated by deleting the existing config file, reloading the plugin to create a default config then reloading the plugin once more. This also happens when we populate the config with zone ids or names that exist in the zone manger config.

Is there something I am doing wrong?

Pastebin link to error message

Default Config in use

Config I wanted to use

(12:16:14) | Unloaded plugin BuildRevert v1.1.6 by nivex
(12:16:14) | Failed to call hook 'OnServerInitialized' on plugin 'BuildRevert v1.1.6' (ArgumentNullException: Value cannot be null.
Parameter name: source)
at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x0000d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Oxide.Plugins.BuildRevert.ExcludeZones () [0x000fb] in <6aaea6f142ee426889caacd6749aaac6>:0
at Oxide.Plugins.BuildRevert.OnServerInitialized (System.Boolean isStartup) [0x00000] in <6aaea6f142ee426889caacd6749aaac6>:0
at Oxide.Plugins.BuildRevert.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00157] in <6aaea6f142ee426889caacd6749aaac6>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
(12:16:14) | Loaded plugin BuildRevert v1.1.6 by nivex



It seems to be whenever it tries to load from the config file the allowedZones is coming back as null. I'm not skilled enough to figure out why though.

After deleteing the config file and re-loading the pluging for the first time it registers two allowedZones but after another re-load it goes back to Null.

hey thanks this should be fixed in 1.1.7. thanks for reporting it