Salut a tous, j'ai un problème avec l’exécution d'une commande a partir d'un inventaire, voici le code :
on right click with compass:
if player is in "world":
open chest with 1 rows named "<light red><bold>Teleportation" to player
wait 1 tick
format slot 0 of player with blaze rod named "<yellow><bold>Test" with lore "<yellow><bold>Bientot..." to close
format slot 1 of player with tnt named "<light red><bold>Test" with lore "<light red><bold>Bientot..." to close then run "TpBs"
command /StpBs:
trigger:
Set {tpBs} to location of player
send "Le tp test a ete defini !" to player
command /TpBs:
trigger:
teleport the player to {tpBs}
En faisant la commande moi même ça fonctionne, mais en faisant a partir de l'inventaire, ca ne fonctionne pas.
Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.
Question
Xsamer01
Salut a tous, j'ai un problème avec l’exécution d'une commande a partir d'un inventaire, voici le code :
En faisant la commande moi même ça fonctionne, mais en faisant a partir de l'inventaire, ca ne fonctionne pas.
Merci de votre aide, Xsamer01 ;)
12 réponses à cette question
Messages recommandés