hi, I tried to generate a language file with the command: langgen <plugin name> <language code>
but it gives me this error:
but it gives me this error:
> langgen AFK de
en
Failed to call hook 'Generate' on plugin 'LangGen v0.1.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.LangGen.Generate (Oxide.Core.Libraries.Covalence.IPlayer player, System.String command, System.String[] args) [0x00120] in <b369599b199b459987e4c57b5a8bd87a>:0
at Oxide.Plugins.LangGen.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000d0] in <b369599b199b459987e4c57b5a8bd87a>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0