-
Bug
-
Resolution: Unresolved
-
None
-
1.17.11 Hotfix
-
None
-
Confirmed
-
Windows
-
591029
I am not sure if this is a bug but it seems like using "clear @a {item} {data} {count}" would not get the player and item removed count,
Using this code
let test = Minecraft.Commands.run(`clear @a`); for(var c in test){ Minecraft.Commands.run(`say ${c} - ${test[c]}`); }
gives me this
while using this code
let test = Minecraft.Commands.run(`clear @a apple 0 1`); for(var c in test){ Minecraft.Commands.run(`say ${c} - ${test[c]}`); }
gives me this
They have the same command but having an item name removes the item remove and player names.