InvalidCastException at PopulateContainerError
Unloaded plugin BetterLoot v3.0.1 by Default
[BetterLoot] Using '21' active of '23' supported containertypes
[BetterLoot] Updating internals ...
Loaded plugin BetterLoot v3.0.1 by Default
[BetterLoot] Removed 13 stacked LootContainer
[BetterLoot] Removed 13 stacked LootContainer
Exception while calling NextTick callback (InvalidCastException: Specified cast is not valid.) at Oxide.Plugins.BetterLoot.PopulateContainer (LootContainer container) [0x002da] in <b040d6ba5a3b436d949d215784e4c10c>:0 at Oxide.Plugins.BetterLoot.<UpdateInternals>m__0 () [0x000b2] in <b040d6ba5a3b436d949d215784e4c10c>:0 at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in <cf88a28c7fb44d36890d85a78331cc9d>:0
Exception while calling NextTick callback (InvalidCastException: Specified cast is not valid.) at Oxide.Plugins.BetterLoot.PopulateContainer (LootContainer container) [0x002da] in <b040d6ba5a3b436d949d215784e4c10c>:0 at Oxide.Plugins.BetterLoot.<UpdateInternals>m__0 () [0x000b2] in <b040d6ba5a3b436d949d215784e4c10c>:0 at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in <cf88a28c7fb44d36890d85a78331cc9d>:0​
Anyone have any idea about this? 
I'm running a 3x Server and ever 1 is now a 3. What could be causing this?
I think I figured it out, I manually added explosives to some drop tables in the file that errored out. This time I recreated the loot file, Changed all "Max": 1, to "Max": 3, and only updated certain loot max's like weapons.

One thing I cant do with this is add a scrap range, I did 
"Scrap": {
"Max": 19,
"Min": 1
}
but it still errors out, any idea?

so im getting this error

Exception while calling NextTick callback (InvalidCastException: Specified cast is not valid.) at Oxide.Plugins.BetterLoot.PopulateContainer (LootContainer container) [0x00353] in :0 at Oxide.Plugins.BetterLoot.m__3 () [0x000c6] in :0 at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in :0

i have checked the loot.json no errors i used lotify to create the loot.json i dont know what ive done wrong i pasted the file i made over the data betterloot loottable.json 

anyone know what i did wrong help would be greatly appreciated

when are you getting that error excatly? there is no such thing as loot.json or loottable.json. Remove the data folder, config file and plugin, then reinstall the plugin, do you still have problems when you don't touch anything? you'll need to show your files/changes

its in the data folder its where u put ur loot table u make
and im getting the error when i change the loot table

Countess

its in the data folder its where u put ur loot table u make
and im getting the error when i change the loot table

Are you unloading the plugin before you delete the old LootTable contents and paste the new one in to replace it (then save) and reload plugin ?

i have got it fixed now ty so much i do not know what was causing error but i just redid the entire thing again and it works now 

Countess

i have got it fixed now ty so much i do not know what was causing error but i just redid the entire thing again and it works now 

great  you got it working, can you change the status to solved ? saves going back to it  :)

Anyone else keep getting this message in the server console? If so how do I fix it?

Failed to call hook 'OnLootSpawn' on plugin 'BetterLoot v3.5.8' (InvalidCastException: Specified cast is not valid.)
at Oxide.Plugins.BetterLoot.PopulateContainer (LootContainer container) [0x00353] in <a541f910c77743aa938459fa1a42a052>:0
at Oxide.Plugins.BetterLoot.OnLootSpawn (LootContainer container) [0x0006d] in <a541f910c77743aa938459fa1a42a052>:0
at Oxide.Plugins.BetterLoot.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x006dc] in <a541f910c77743aa938459fa1a42a052>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e23ba2c0f246426296d81c842cbda3af>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <50629aa0e75d4126b345d8d9d64da28d>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <50629aa0e75d4126b345d8d9d64da28d>:0