Failed to call hook 'CommandTeleport' on plugin 'NTeleportation v1.6.0' (NullReferenceException: Object reference not set to an instance of an object)Solved

As of today I suddenly cant teleport to players anymore

(14:15:18) | Failed to call hook 'CommandTeleport' on plugin 'NTeleportation v1.6.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.NTeleportation.SaveLocation (BasePlayer player) [0x0001e] in <c271afcf5f834032acd46ae0a686053f>:0 
  at Oxide.Plugins.NTeleportation.Teleport (BasePlayer player, UnityEngine.Vector3 newPosition, System.Boolean allowTPB) [0x00028] in <c271afcf5f834032acd46ae0a686053f>:0 
  at Oxide.Plugins.NTeleportation.Teleport (BasePlayer player, BasePlayer target) [0x0000d] in <c271afcf5f834032acd46ae0a686053f>:0 
  at Oxide.Plugins.NTeleportation.CommandTeleport (Oxide.Core.Libraries.Covalence.IPlayer p, System.String command, System.String[] args) [0x000d1] in <c271afcf5f834032acd46ae0a686053f>:0 
  at Oxide.Plugins.NTeleportation.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x016c8] in <c271afcf5f834032acd46ae0a686053f>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>: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
​

likely due to a null data file, possibly oxide/data/NTeleportationAdmin.json

ah okay let me try cleaning up i did had a weird crash/rollback earlier so that might be related

Merged post

Perfect it fixed it thanks

no problem

Locked automatically