mojira.dev

AlexMCool

Assigned

No issues.

Comments

This is fixed in 20w17a (didn't check versions before it)

Fixed in 20w07a (don't know about earlier versions). They changed it to "Sunstreak"

That function doesn't work because you're constantly using the same command context for the teleportation. The whole function is run with the same context. So running this: `execute as @a at @s run function example`
example:

teleport @s ~ ~1 ~
teleport @s ~ ~1 ~
teleport @s ~ ~1 ~
teleport @s ~ ~1 ~

would only teleport the player 1 block up since they all use the same origin. To 'update' the position context, you need to use `at @s` before teleporting, so the teleport command uses the new player pos as the context.

teleport @s ~ ~1 ~
execute at @s run teleport @s ~ ~1 ~
execute at @s run teleport @s ~ ~1 ~
execute at @s run teleport @s ~ ~1 ~

so it's not impossible

Load more comments