NullReferenceException at cmdChatHomeTP/CommandSetHomeFixed

got this when trying to sethome 

Failed to call hook 'CommandSetHome' on plugin 'NTeleportation v1.6.5' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.NTeleportation.CommandSetHome (Oxide.Core.Libraries.Covalence.IPlayer p, System.String command, System.String[] args) [0x0012f] in <2ae40c60f84c4554bf88a733e985182c>:0
  at Oxide.Plugins.NTeleportation.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x019cc] in <2ae40c60f84c4554bf88a733e985182c>: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 <9882f28dc2204b4dba514a9ad18f5042>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0

and this when trying to tp to a home
Failed to call hook 'CommandHome' on plugin 'NTeleportation v1.6.5' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.NTeleportation.cmdChatHomeTP (BasePlayer player, System.String command, System.String[] args) [0x000d0] in :0
  at Oxide.Plugins.NTeleportation.CommandHome (Oxide.Core.Libraries.Covalence.IPlayer p, System.String command, System.String[] args) [0x00255] in :0
  at Oxide.Plugins.NTeleportation.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01bb8] in :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 <9882f28dc2204b4dba514a9ad18f5042>:0
 

make sure your datafiles aren't null, namely NTeleportationHome.json

nivex

make sure your datafiles aren't null, namely NTeleportationHome.json

might be a config error , mine are working as normal

added null check for datafiles in 1.6.6 just in case

Locked automatically