Mojira Archive
MC-118494

testfor & scoreboard testing doesn't work properly in functions

When I write a simple function like this

testfor @a
? say someone detected !
scoreboard players test @a scorename 0 100
? say someone matches !

and when I run it, it says nothing.
The weird thing is if I write that in command blocks (with chain-conditionnal cb),
it says something (what it's supposed to do).

Invalid

fiasse

2017-06-09, 02:59 PM

2017-06-09, 11:21 PM

2017-06-09, 11:21 PM

0

0

Unconfirmed

Minecraft 1.12

-