Плагин NoEscape для старого раста v1381 (116 devblog)
Выдаёт ошибку в консоль при разрушении объекта:
Failed to call hook 'OnEntityDeath' on plugin 'NoEscape v1.0.0' (NullReferenceException: Object reference not set to an instance of an object)
[Oxide] 05:05 [Debug] at Oxide.Plugins.NoEscape.FindOwner (.BaseEntity entity) [0x00000] in <filename unknown>:0
at Oxide.Plugins.NoEscape.StructureAttack (.BaseEntity targetEntity, .BaseEntity sourceEntity) [0x00000] in <filename unknown>:0
at Oxide.Plugins.NoEscape.OnEntityDeath (.BaseCombatEntity entity, .HitInfo hitInfo) [0x00000] in <filename unknown>:0
at Oxide.Plugins.NoEscape.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
Помогите пофиксить
Выдаёт ошибку в консоль при разрушении объекта:
Failed to call hook 'OnEntityDeath' on plugin 'NoEscape v1.0.0' (NullReferenceException: Object reference not set to an instance of an object)
[Oxide] 05:05 [Debug] at Oxide.Plugins.NoEscape.FindOwner (.BaseEntity entity) [0x00000] in <filename unknown>:0
at Oxide.Plugins.NoEscape.StructureAttack (.BaseEntity targetEntity, .BaseEntity sourceEntity) [0x00000] in <filename unknown>:0
at Oxide.Plugins.NoEscape.OnEntityDeath (.BaseCombatEntity entity, .HitInfo hitInfo) [0x00000] in <filename unknown>:0
at Oxide.Plugins.NoEscape.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
Помогите пофиксить