Affects Version/s: 126.96.36.199 Beta, 188.8.131.52 Beta, 1.17.11 Hotfix, 1.16.220, 184.108.40.206 Beta, 1.8.0, 1.10.0, 1.11.0, 1.13.0, 1.16.100, 1.16.101 Hotfix
Fix Version/s: None
Functions don't store the original position of their execution. They use the position of executor instead.
Example 1: Fixed by 1.10
Run /function test
Block is placed 5 blocks upward.
Block is placed at player's position. Relative coordinates are relative to the sender, when they should be relative to the execution position.
Run /function test3
Block is placed at original location function was called.
Block is placed at player's position after teleporting. The execution position was not updated using /execute, so it should have stayed put when the player was teleported.
How to reproduce:
1. Create functions described in the example above or apply the behaviorpack attached to this issue.
2. Call the functions with /function command to see the results.