ReplayHandler#spectateCamera() creates a new CameraEntity if the current instance is null
This commit is contained in:
@@ -151,6 +151,9 @@ public class ReplayHandler {
|
||||
cameraEntity.movePath(prev);
|
||||
}
|
||||
currentEntity = cameraEntity;
|
||||
if(cameraEntity == null) {
|
||||
cameraEntity = new CameraEntity(mc.theWorld);
|
||||
}
|
||||
mc.setRenderViewEntity(cameraEntity);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user