mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-03 14:38:53 +00:00
feat: Improve /rtp with world+server args, fix x-server /rtp (#719)
* feat: enhance /rtp command with flexible world and server options, and fix cross-server compatibility * I'm not sure about the permission. * Revert "I'm not sure about the permission." This reverts commit c11942d0187690bf46dbcd21f2f6242f929f928b. * revert accident reformat. * change from review request
This commit is contained in:
1 parent
419f1e2f08
commit
3705b3288d
5 files changed
+136
-56
No files matched your search
@@ -130,6 +130,7 @@ public interface MessageHandler {
|
||||
.orElse(CompletableFuture.completedFuture(Optional.empty()))
|
||||
.thenAccept(
|
||||
(teleport) -> Message.builder()
|
||||
.type(Message.MessageType.RTP_LOCATION)
|
||||
.target(message.getSender(), Message.TargetType.PLAYER)
|
||||
.payload(Payload.position(teleport.orElse(null)))
|
||||
.build().send(getBroker(), null)
|
||||
|
||||
Reference in new issue
Block a user