I’m currently working on an essential plugin. While I was working on the warp system, I found a bug:
I created an WarpPoint Object:
If I call the warpPlayer method, the player will get teleported, but the rotation isn’t changing in spite of that getX(), getY() and getZ() of the Vector3d return the right values.
setRotation works for me… I was calling player.setLocation() then player.setRotation() and that didn’t work. If I flipped them around however, then bingo.