InvalidCastException at XPClansNot An Issue

(11:45:49) | Failed to call hook 'OnDispenserGather' on plugin 'XPerience v1.3.5' (InvalidCastException: Null object cannot be converted to a value type.)

at System.Convert.ChangeType (System.Object value, System.Type conversionType, System.IFormatProvider provider) [0x00029] in <eae584ce26bc40229c1b1aa476bfa589>:0

at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x0000c] in <eae584ce26bc40229c1b1aa476bfa589>:0

at Oxide.Core.Plugins.Plugin.Call[T] (System.String hook, System.Object[] args) [0x00008] in <12678b905a6d43c3a9cc366104306651>:0

at Oxide.Plugins.XPerience.XPClans (BasePlayer player, System.Double e, System.String type) [0x00018] in <72ec52f785c342e0955b3054a2ee25f1>:0

at Oxide.Plugins.XPerience.GainExp (BasePlayer player, System.Double e) [0x00167] in <72ec52f785c342e0955b3054a2ee25f1>:0

at Oxide.Plugins.XPerience.OnDispenserGather (ResourceDispenser dispenser, BaseEntity entity, Item item) [0x0049d] in <72ec52f785c342e0955b3054a2ee25f1>:0

at Oxide.Plugins.XPerience.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x02612] in <72ec52f785c342e0955b3054a2ee25f1>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <12678b905a6d43c3a9cc366104306651>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <12678b905a6d43c3a9cc366104306651>:0

Plugin doesn't work, players don't get XP points

Merged post

(11:51:50) | Failed to call hook 'OnDispenserGather' on plugin 'XPerience v1.3.5' (InvalidCastException: Null object cannot be converted to a value type.)

at System.Convert.ChangeType (System.Object value, System.Type conversionType, System.IFormatProvider provider) [0x00029] in <eae584ce26bc40229c1b1aa476bfa589>:0

at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x0000c] in <eae584ce26bc40229c1b1aa476bfa589>:0

at Oxide.Core.Plugins.Plugin.Call[T] (System.String hook, System.Object[] args) [0x00008] in <12678b905a6d43c3a9cc366104306651>:0

at Oxide.Plugins.XPerience.XPClans (BasePlayer player, System.Double e, System.String type) [0x00018] in <4c84e5537c8842c88c63196089de2a7e>:0

at Oxide.Plugins.XPerience.GainExp (BasePlayer player, System.Double e) [0x00167] in <4c84e5537c8842c88c63196089de2a7e>:0

at Oxide.Plugins.XPerience.OnDispenserGather (ResourceDispenser dispenser, BaseEntity entity, Item item) [0x0049d] in <4c84e5537c8842c88c63196089de2a7e>:0

at Oxide.Plugins.XPerience.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x02612] in <4c84e5537c8842c88c63196089de2a7e>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <12678b905a6d43c3a9cc366104306651>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <12678b905a6d43c3a9cc366104306651>:0



Merged post

it worked, the config file was deleted
Locked automatically