Skip to content

Commit 7787e79

Browse files
committed
Fix spectating of other entities not working
1 parent 274e264 commit 7787e79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mixins/java/org/spongepowered/common/mixin/core/server/level/ServerPlayerMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ public boolean teleportTo(final ServerLevel world,
619619

620620
}
621621

622-
thisPlayer.setCamera(thisPlayer);
622+
thisPlayer.setCamera(thisPlayer.getCamera());
623623
thisPlayer.stopRiding();
624624
if (thisPlayer.isSleeping()) {
625625
thisPlayer.stopSleepInBed(true, true);

0 commit comments

Comments
 (0)