mojira.dev
MCPE-138492

[Gametest] Missing properties in command /clear

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

[media]

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

[media]

They have the same command but having an item name removes the item remove and player names.

 

 

Attachments

Comments 0

No comments.

Dewdimpple

(Unassigned)

591029

Confirmed

Windows

1.17.11 Hotfix

Retrieved