(11:18:47) | Failed to call hook 'OnLootSpawn' on plugin 'BetterLoot v3.0.0' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.BetterLoot.PopulateContainer (LootContainer container) [0x002da] in <0ba0b55159484ae69df11d3ccf85b57d>:0 at Oxide.Plugins.BetterLoot.OnLootSpawn (LootContainer container) [0x00062] in <0ba0b55159484ae69df11d3ccf85b57d>:0 at Oxide.Plugins.BetterLoot.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00398] in <0ba0b55159484ae69df11d3ccf85b57d>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0NullReferenceException at PopulateContainerSolved
oxide.reload BetterLoot
- [BetterLoot] JSON error in 'LootTables' > Line: 22 | LootTables['assets/bundled/prefabs/radtown/crate_basic.prefab'].ItemList['burlap.trousers']
Unloaded plugin BetterLoot v3.0.0 by FuJiCuRa / dcode
[BetterLoot] Updating internals ...
Loaded plugin BetterLoot v3.0.0 by FuJiCuRa / dcode
[BetterLoot] Removed 119 stacked LootContainer
Exception while calling NextTick callback (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.BetterLoot.PopulateContainer (LootContainer container) [0x0000c] in :0 at Oxide.Plugins.BetterLoot.m__0 () [0x000b2] in :0 at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in <4452f821def6406d834e4149849fe7ea>:0
Now MY code is this
"LootTables": {
"assets/bundled/prefabs/radtown/crate_basic.prefab": {
"Enabled": true,
"ItemList": {
"barricade.stone.blueprint": {
"Max": 1,
"Min": 1
},
"barricade.wood": {
"Max": 1,
"Min": 1
},
"bucket.water": {
"Max": 1,
"Min": 1
},
"burlap.trousers": {
"Max": 1,
"Min": 1
},
"burlap.shoes" {
"Max": 1,
"Min": 1
},
"burlap.shirt" {
"Max": 1,
"Min": 1
},
"burlap.gloves": {
"Max": 1,
"Min": 1
},
ETC ETC
I see no code error here. why am i getting this error?
Thank you for your time
my line 22
"fireplace.stone.blueprint": {
"Max": 1,
"Min": 1
TY