[MC-8120] The /clear command used with a command block always give an output while tested by a comparator Created: 22/Jan/13 Updated: 11/Apr/13 Resolved: 06/Apr/13 |
|
| Status: | Resolved |
| Project: | Minecraft: Java Edition |
| Component/s: | None |
| Affects Version/s: | Snapshot 13w03a |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Jean MARTIN | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | redstone | ||
| Environment: |
Windows7/Java7x64 |
||
| Issue Links: |
|
||||||||
| Confirmation Status: | Unconfirmed | ||||||||
| Game Mode: | Creative | ||||||||
| Description |
|
When a command block operate the "/clear" command, even when it doesn't remove any item, ("removing 0 items) it considers it succesful and therefore gives an output when tested with a comparator, becoming useless. |
| Comments |
| Comment by Anon Ymus [ 22/Jan/13 ] |
|
The clear command still succeeds even if it doesn't remove anything. It only fails if it cannot find the player. |
| Comment by Moe [ 22/Jan/13 ] |
|
Thats because the comparator takes the signal, that you used to trigger the commandblock out of the commandblock. For the testfor command it's different, because it has an extra clause in the code. Not a bug. |