Skip to content

Conversation

@Dueris
Copy link

@Dueris Dueris commented Dec 28, 2025

While probably not a necessary command to reimplement into Folia, it should probably be implemented for more Vanilla parity and such.

The fix introduced here essentially schedules the full method in a very similar way as the other command patches. The ServerPlayer#setCamera method is already patched to support off-region targets, so we schedule the method contents to the ServerPlayer spectator.

Ive tested this via the command below:

/spectate @e[limit=1,type=!player,sort=random] Dueris

While probably not a necessary command to reimplement into Folia, it should probably be implemented for more Vanilla parity and such.

The fix introduced here essentially schedules the full method in a very similar way as the other command patches. The `ServerPlayer#setCamera` method is already patched to support off-region targets, so we schedule the method contents to the `ServerPlayer` spectator.

Ive tested this via the command below:
```
/spectate @e[limit=1,type=!player,sort=random] Dueris
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant