1

Help me make this command work!

MythicMango 4/23/21 12:55 am
108
4/23/2021 4:01 pm
Somebody help make this command below work, I need it badly for a map...






/execute at @a[nbt={Inventory:[{Slot:2b,id:"minecraft:lime_dye",tag:{display:{Name:'{"text":"-UP-"}'}}}]}] run effect give @s levitation 1 0 true
Posted by
MythicMango
Level 39 : Artisan Toast
28

  Have something to say?

JoinSign in

2

HoboMaggot
04/23/2021 2:13 am
Level 55 : Grandmaster Blob
You're running a command on the player's location, which obviously doesnt make sense because you're trying to execute a command on them. You need to execute the command as the player.

As such the simple fix should be /execute as <command>
1
MythicMango
04/23/2021 3:54 pm
Level 39 : Artisan Toast
history
Thank you so much!!! It works now!!!!! Take a sub dude.
1

Welcome