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
7b9f11f60d
commit
a6bb7bf506
4 files changed
+22
No files matched your search
@@ -885,6 +885,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