Added Spectator Keyframes and handles them properly in both normal and rendered Replay Paths

This commit is contained in:
CrushedPixel
2015-05-31 13:54:22 +02:00
parent 431a36c9d9
commit fe036d72d8
8 changed files with 143 additions and 71 deletions

View File

@@ -71,8 +71,13 @@ public class ReplayHandler {
}
public static void spectateEntity(Entity e) {
currentEntity = e;
mc.setRenderViewEntity(currentEntity);
if(e == null) {
spectateCamera();
}
else {
currentEntity = e;
mc.setRenderViewEntity(currentEntity);
}
}
public static void spectateCamera() {