-
Bug
-
Resolution: Fixed
-
Minecraft 1.12 Pre-Release 3
-
Confirmed
Add a function with a command such as setblock ~ ~2 ~ stone or say @s.
In the world place a command block and run the function as a player (or other entity):
/execute @p ~ ~ ~ function foo:bar
The expected behaviour is that a stone block is placed above the nearest player, however, it is placed at the command block instead. As well, using @s in the function does nothing, as the command block is the sender.
Affects similar commands in other contexts as well.
- is duplicated by
-
MC-117588 Functions Are Run by Executor, Not By Target of Execute
- Resolved
-
MC-117596 [Advise] Excutor should CHANGE when using /execute PLAYER ~ ~ ~ function FUNCTION
- Resolved
- relates to
-
MC-117428 /function with /execute "An unknown error occurred while attempting to perform this command"
- Resolved