Fix camera rotation when jumping in time (fixes #39)
This commit is contained in:
@@ -280,7 +280,7 @@ public class ReplayHandler {
|
|||||||
CameraEntity cam = getCameraEntity();
|
CameraEntity cam = getCameraEntity();
|
||||||
if (cam != null) {
|
if (cam != null) {
|
||||||
targetCameraPosition = new Location(cam.posX, cam.posY, cam.posZ,
|
targetCameraPosition = new Location(cam.posX, cam.posY, cam.posZ,
|
||||||
cam.rotationPitch, cam.rotationYaw);
|
cam.rotationYaw, cam.rotationPitch);
|
||||||
} else {
|
} else {
|
||||||
targetCameraPosition = null;
|
targetCameraPosition = null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user