Failed to call hook 'OnPlayerRespawned' on plugin 'Kits v4.4.2' (NullReferenceException: Object reference not set to an instance of an object) at Item.DoItemSlotsConflict (Item other) [0x00000] in <b9754e3eb8c74d9294e8fa5eb299564b>:0 at Item.RemoveConflictingSlots (ItemContainer container, BaseEntity entityOwner, BasePlayer sourcePlayer) [0x00039] in <b9754e3eb8c74d9294e8fa5eb299564b>:0 at Item.MoveToContainer (ItemContainer newcontainer, System.Int32 iTargetPos, System.Boolean allowStack, System.Boolean ignoreStackLimit, BasePlayer sourcePlayer, System.Boolean allowSwap) [0x0055f] in <b9754e3eb8c74d9294e8fa5eb299564b>:0 at Oxide.Plugins.Kits.CreateItem (Oxide.Plugins.Kits+ItemData itemData) [0x00137] in <c7aeecb1007440e786c6b5ea04cfb390>:0 at Oxide.Plugins.Kits+KitData+Kit.GiveItems (Oxide.Plugins.Kits+ItemData[] items, ItemContainer container, System.Collections.Generic.List`1[Oxide.Plugins.Kits+ItemData]& leftOverItems, System.Boolean isWearContainer) [0x00029] in <c7aeecb1007440e786c6b5ea04cfb390>:0 at Oxide.Plugins.Kits+KitData+Kit.GiveItemsTo (BasePlayer player) [0x00013] in <c7aeecb1007440e786c6b5ea04cfb390>:0 at Oxide.Plugins.Kits.GiveKit (BasePlayer player, Oxide.Plugins.Kits+KitData+Kit kit) [0x00054] in <c7aeecb1007440e786c6b5ea04cfb390>:0 at Oxide.Plugins.Kits.OnPlayerRespawned (BasePlayer player) [0x000cc] in <c7aeecb1007440e786c6b5ea04cfb390>:0 at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00221] in <c7aeecb1007440e786c6b5ea04cfb390>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <206a0f2c6ee141f38e2ad549cde44d70>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0
Создал 4 автокита! Два автокита выдаются при спавне а вот два других выдают ошибку при спавне и вещи соответственно не выдаются.
Приоритет прописан верно
"Kit chat command": "kit",
"Currency used for purchase costs (Scrap, Economics, ServerRewards)": "Scrap",
"Log kits given": false,
"Wipe player data when the server is wiped": false,
"Use the Kits UI menu": true,
"Allow players to toggle auto-kits on spawn": true,
"Show kits with permissions assigned to players without the permission": true,
"Players with the admin permission ignore usage restrictions": false,
"Autokits ordered by priority": [
"elite",
"prem",
"vip",
"auto"
Подскажите где я накосячил
Создал 4 автокита! Два автокита выдаются при спавне а вот два других выдают ошибку при спавне и вещи соответственно не выдаются.
Приоритет прописан верно
"Kit chat command": "kit",
"Currency used for purchase costs (Scrap, Economics, ServerRewards)": "Scrap",
"Log kits given": false,
"Wipe player data when the server is wiped": false,
"Use the Kits UI menu": true,
"Allow players to toggle auto-kits on spawn": true,
"Show kits with permissions assigned to players without the permission": true,
"Players with the admin permission ignore usage restrictions": false,
"Autokits ordered by priority": [
"elite",
"prem",
"vip",
"auto"
Подскажите где я накосячил