/clear command returns twice the number of items cleared
Whenever I try using the command "/clear (player gamertag) (item) (data value) 0" to find out how much of an item a player has, it always returns double the amount of items the player has. For example, if I have 6 torches in my inventory and run, "/clear @s torch 0 0" it will return the number 12 when it should be returning 6. This also works with other data values such as if I have a fully lit light block and run, "/clear @s light_block 15 0" it will return the number 2 when I only have 1.
2023-10-05, 06:34 PM
2024-07-22, 05:01 PM
3
3
1118740
1.21.20.23 Preview, 1.20.31 Hotfix, 1.20.81 Hotfix
-