Mojira Archive
MC-52036

using testfor in execute command failure

What I did: I used the command

execute @e[name="name"] ~ ~ ~ testfor @a[team=B]

What I expected to happen: It would output a redstone energy signal depending on the amount of players in that team around the entity.
What actually happened: It would only output because the testfor command succeeded, not because it had detected multiple players. It had not given a different redstone energy level (2 instead of 1).

Fixed

bananenbroek4

2014-03-26, 03:17 PM

2020-08-12, 10:06 PM

2018-01-29, 02:30 PM

4

7

Confirmed

/execute, command, output, redstone, signal-strength, testfor

Minecraft 14w11b, Minecraft 1.8.3, Minecraft 16w33a

Minecraft 18w03b