mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-04 06:28:53 +00:00
Set reply target in cross server /msg
This commit is contained in:
1 parent
b5365e9b78
commit
5c34d914a5
1 file changed
+2
@@ -125,6 +125,8 @@ public class PluginMessageManager implements PluginMessageListener {
|
|||||||
String chatMessage = in.readUTF();
|
String chatMessage = in.readUTF();
|
||||||
|
|
||||||
ChatUser target = carbonChat.getUserService().wrap(targetUUID);
|
ChatUser target = carbonChat.getUserService().wrap(targetUUID);
|
||||||
|
|
||||||
|
target.setReplyTarget(targetUUID);
|
||||||
target.sendMessage(carbonChat.getAdventureManager().processMessage(chatMessage, "br", "\n"));
|
target.sendMessage(carbonChat.getAdventureManager().processMessage(chatMessage, "br", "\n"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user