-
-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Teleporting ignores yaw + pitch? #996
Comments
What version were you using before? |
2.2-dev29 |
Oh. That is weird... Same server version, right? |
I'm not sure - I might have updated to 1.12.2 |
Can anyone else reproduce this with dev32 on 1.12.2? |
This is not an error on the latest build of Skript 1.12.2 or a bug |
@GrimEpp can you provide a screenshot? i reproduced it on dev32d. |
having this issue also. generally setting the yaw of an entity doesn't work for me, but won't throw any bugs either. for instance:
nothing |
@jaylawl that's a expected behaviour, as you have to teleport the entity to actually change it. |
If setting the yaw/pitch of an entity isn't supposed to work then it should be changed so that setters for it don't parse. It should be disallowed & give a warning saying to use teleportation instead. Unless I'm misunderstanding something. |
Or, I could make it so when you set the yaw/pitch of an entity it also teleports the entity, either way works. |
That works too! |
shouldn't this be bug not enhancement? this used to work |
Weird, but this happens only when the yaw or pitch is 0, 90, 180, 270 or 360. For example 360.01 will work and it will be 360 in the game. |
Adding priority for this issue since it still occurs on Skript 2.4 / Spigot 1.14.4 2 years after the issue was made... |
According to my testing, even using values like 0.00001 will work, but not 0. |
Yes, as Blueyescat pointed out: Related to https://github.com/SkriptLang/Skript/blob/master/src/main/java/ch/njol/skript/effects/EffTeleport.java#L105 |
Could maybe make the effect something like |
It's 2020 now and still not fixed. :-( |
I’ll open a PR soon to fix this issue. |
I have locations saved into variables which used to teleport players to the location I set (with north south location respected) Now in dev32b it just teleports player looking at the north with is rather annoying... Having to turn around every time when you spawn (get teleported) is just plain stupid.
The text was updated successfully, but these errors were encountered: