Solved Kits - don’t take any weapons in the belt

Hi I want to create kits for the botspawn plugin, I put the weapons in the inventory of the bottom
and as a message in the chat, he tells me "you successfully added kit 'military' with '{count}' items"

in the console he tells me

[BotSpawn] Kit military1 has no items in belt - Spawning default Scientist.

ty
 

Orange

Administrator
Hi I want to create kits for the botspawn plugin, I put the weapons in the inventory of the bottom
and as a message in the chat, he tells me "you successfully added kit 'military' with '{count}' items"

in the console he tells me

[BotSpawn] Kit military1 has no items in belt - Spawning default Scientist.

ty
Hi, what is versions of both your plugins?
 

Orange

Administrator
Kits Core v1.2.11 and BotSpawn v2.1.0
You can tell Steenmaroo to change line
646
from
C#:
if (item["container"].ToString() == "belt")
to
C#:
if (item["container"].ToString().ToLower() == "belt")

in next update. The reason that i (and maybe someone else) saving container as "Belt" instead of his "belt"
 
actually even when creating a kit, it does not take the weapons on the belt ( you successfully added kit 'military' with '{count}' items )
I still changed the line in the plugin botspawn

ty
 
Top