mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-01 14:38:50 +00:00
Stop spectating when applying camera keyframe
This commit is contained in:
1 parent
f8406e428e
commit
2e9423478f
4 files changed
+22
No files matched your search
@@ -905,6 +905,7 @@ public class ReplayServer extends IntegratedServer {
|
||||
if (targetEntity != null && !targetEntity.isRemoved()) {
|
||||
replayViewer.setCamera(null);
|
||||
replayViewer.setCamera(targetEntity);
|
||||
replayViewer.spectatingUuid = targetEntity.getUUID();
|
||||
|
||||
if (replayViewer.forceRespectateTickCount == 0) {
|
||||
replayViewer.forceRespectateTickCount = 5;
|
||||
|
||||
Reference in new issue
Block a user