mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-03 14:38:53 +00:00
Fix tp parsing & teleporting networked users by name
This commit is contained in:
3 files changed
+3
-6
No files matched your search
@@ -65,8 +65,8 @@ public class Teleport {
|
||||
if (target instanceof Username username) {
|
||||
Message.builder()
|
||||
.type(Message.Type.TELEPORT_TO_NETWORKED_USER)
|
||||
.target(username.name())
|
||||
.payload(Payload.withString(teleporter.name()))
|
||||
.target(teleporter.name())
|
||||
.payload(Payload.withString(username.name()))
|
||||
.build().send(plugin.getMessenger(), executor);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user