Здравствуйте. Плагин хороший-почти рабочий, но иногда выдает такую ошибку после правильного ответа, приз так же не выдается игроку:
[Error] Failed to call hook 'OnPlayerChat' on plugin 'QuizPlugin v1.3.2' (NullReferenceException: Object reference not set to an instance of an object)
at BasePlayer.GiveItem (Item item, BaseEntity+GiveItemReason reason, GiveItemOptions options) [0x0004c] in <73d1576194db4b099fc6775014f477ec>:0
at Oxide.Plugins.QuizPlugin.OnPlayerChat (BasePlayer player, System.String message, ConVar.Chat+ChatChannel channel) [0x0006d] in <fb3da8ae09274a718d59908b16d4d25c>:0
at Oxide.Plugins.QuizPlugin.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000b3] in <fb3da8ae09274a718d59908b16d4d25c>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <15f61ddda771464d8246ebdce8ff4811>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0
Возможно ли поправить? Спасибо!