my hosting does not allow using this method
Failed to call hook 'NightVisionCommand' on plugin 'NightVision v1.3.1' (UnauthorizedAccessException: System access is restricted, you are not allowed to use System.Reflection.MethodInfo)
at Oxide.Plugins.NightVision.UpdateEnvironmentSync (BasePlayer player) [0x00000] in <245fc1b299d74dac94fdec713b87d076>:0
at Oxide.Plugins.NightVision.NightVisionCommand (BasePlayer player) [0x000e3] in <245fc1b299d74dac94fdec713b87d076>:0
at Oxide.Plugins.NightVision.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0023e] in <245fc1b299d74dac94fdec713b87d076>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0