NullReferenceException at VerifyPermissionSolved
I want to use the metabolism command as a reward with ServerRewards but calling it via that plugin or directly from RCON produces the following error:
Failed to call hook 'PlayerAdministrationRecoverUserMetabolismCallback' on plugin 'PlayerAdministration v1.5.3' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PlayerAdministration.VerifyPermission (BasePlayer& aPlayer, System.String aPermission, System.Boolean aIndReport) [0x00000] in <27a0f82e10984b5490522207d7140562>:0
at Oxide.Plugins.PlayerAdministration.PlayerAdministrationRecoverUserMetabolismCallback (Oxide.Core.Libraries.Covalence.IPlayer aPlayer, System.String aCommand, System.String[] aArgs) [0x00029] in <27a0f82e10984b5490522207d7140562>:0
at Oxide.Plugins.PlayerAdministration.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01d56] in <27a0f82e10984b5490522207d7140562>: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
Well yes, from rcon you don't have a player object containing permissions, so it will fail the permission check.
I'll have a look and add an ```rcon  or permission check.```

Merged post

Should work with v1.5.4
Fixed! Thank you so much for this and especially how quickly you did it. Donated :)
Thank you for the generosity. :)
Locked automatically