Can't get skin to work for item

Hi guys, i got my loottables in data, and it works just fine - have worked for like 2 months, i often change in it without errors.
After this update, i updated and everything went smooth.

When im trying to add the skinid line to something (which can have skins), i get RCON errors, example is:
"metal.facemask": {
"Max": 1,
"Min": 1,
"SkinId": 1993774875
},
"metal.plate.torso": {
"Max": 1,
"Min": 1,
"SkinId": 1993775723
},
Gives me:
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 <29280948a0c14c4f827238bbde8830b0>:0 at Oxide.Plugins.BetterLoot.m__0 () [0x000bd] in <29280948a0c14c4f827238bbde8830b0>:0 at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in :0

If i remove the skinid lines and the last , after Min...1 - and then reload - i get 0 errors.
Im doing it wrong or?

You are using the Face Mask skin on the Chestplate and the Chestplate skin on the Face Mask.
Props, Rune. GJ!
5df121d013ded.png runescape
You are using the Face Mask skin on the Chestplate and the Chestplate skin on the Face Mask.

The above was just an example.

I tried with "coffee can helm" on my server, which cannot be mistaken :) - the above config is just to show how i "do".



Merged post

setting any skin on python gives:

oxide.reload BetterLoot

Unloaded plugin BetterLoot v3.1.0 by Default

[BetterLoot] Using '24' active of '24' supported containertypes

[BetterLoot] Updating internals ...

Loaded plugin BetterLoot v3.1.0 by Default

 

[BetterLoot] Removed 12 stacked LootContainer

Exception while calling NextTick callback (InvalidCastException: Specified cast is not valid.) at Oxide.Plugins.BetterLoot.MightyRNG (System.String type, System.Int32 itemCount, System.Boolean blockBPs) [0x0027a] in :0 at Oxide.Plugins.BetterLoot.PopulateContainer (LootContainer container) [0x00206] in :0 at Oxide.Plugins.BetterLoot.m__0 () [0x000bd] in :0 at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in :0

with example config:

"pistol.python": {
"Max": 1,
"Min": 1,
"Skindid": 1796388607

It seems the code I was given is faulty.
Go ahead and roll back to the previous version.
Oh alright.
Sad, its a really REALLY nice add :P 
Can try to talk to @Karuza for fixing it, otherwise you can wait for the rewrite.
alright, the idea sounds so sweet :P i think most players would love that addon to the plugin :D
keep up the good work champ!

Does this still work? I added the skins to data file reloaded plugin no errors but the items show up vanilla skin