Loot slots are bugged !

Hello, i am setting the minimun item to 18 and max items to 24. i am getting random loot slots like 6 and 7 or less, ignoring the min item input.

i am reloading the plugin, i tried deleting everything and restarting from scratch, i tried to see if any other plugin is interferring with it, i tried adding more loot to the crates or chinook so the loot table is big. i dont know what else i can do. 

anyone has this problem ?

thank you

 

 
 
Hi, I'm also experiencing this problem. I'm modifying it with Looty, but when I type the command in-game, nothing changes; everything remains random and buggy.

jlnito, that is not the same problem

Loot containers only have so many slots, I don't think this plugin changes that. So it's not going to work if you are trying to fit 18 into a container that only has 12 slots.

7nQvL8ITszWvRBt.jpg jlnito
 
 
Hi, I'm also experiencing this problem. I'm modifying it with Looty, but when I type the command in-game, nothing changes; everything remains random and buggy.

i fixed the issue by making every item a Guaranteed Item, this way you have 24 loot slots in a 12 or 6 boxes

firingLaserz

jlnito, that is not the same problem

Loot containers only have so many slots, I don't think this plugin changes that. So it's not going to work if you are trying to fit 18 into a container that only has 12 slots.

you can do it by making the items Guaranteed Item, the max is 24 items tho

I fixed it changing the code in line 2281 from this:

if (!item.Item.MoveToContainer(container)) // broken item fix / fixes full container
    item.Item.DoRemove();

to this

container.itemList.Add(item.Item);

This might cause some bugs, but at least respect min and max config