Bonjour,
Dans mon skript, j'ai crée des kits pour quand on fait par exemple /kit-guerrier sa nous donne des objets.
Mon problème est le suivent, quand mon inventaire est plein, les items que je devrais recevoir ne tombe pas par-terre et son comme supprimé donc si vous pourriez m'aidé à faire que les items soient par-terre sa m'aiderai fortement
Petit bout su code :
command /kit-guerrier:
permission: guerrier.use #groupe joueur
trigger:
equip player with diamond helmet of protection 10 named "&6&lGuerrier"
equip player with diamond chestplate of protection 10 named "&6&lGuerrier"
equip player with diamond leggings of protection 10 named "&6&lGuerrier"
equip player with diamond boots of protection 10 named "&6&lGuerrier"
give Diamond sword of sharpness 5 , knockback 5 to player
give Diamond pickaxe of efficiency 10 , unbreaking 10 , fortune 10 to player
give Diamond spades to player
give Diamond axe to player
give 16 enchanted golden apple to player
give 64 obsidian to player
give 64 obsidian to player
give 64 obsidian to player
give 64 obsidian to player
give 64 chest to player
give 64 chest to player
give 64 ender chest to player
give 64 enchantment table to player
give 32 bedrock to player
give 64 torch to player
give 16 ender pearl to player
give 16 ender pearl to player
give 16 ender pearl to player
give bow of infinity 1 , flame 1 , power 10 to player
give 1 arrow to player
give 64 steak to player
give 1 potion of strength to player
give 1 potion of strength to player
give 1 potion of strength to player