mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Register missing sync listeners
This commit is contained in:
1 parent
98d7501ee0
commit
778f4939d1
1 file changed
+8
+8
@@ -152,6 +152,14 @@ public class MessageManager {
|
||||
"target", target.displayName(), "sender", sender.displayName()));
|
||||
}
|
||||
});
|
||||
|
||||
this.messageService().registerUserMessageListener("custom-chat-color-reset", (user, byteArray) -> {
|
||||
user.customChatColor(null, true);
|
||||
});
|
||||
|
||||
this.messageService().registerUserMessageListener("custom-chat-color", (user, byteArray) -> {
|
||||
user.customChatColor(TextColor.fromHexString(byteArray.readUTF()), true);
|
||||
});
|
||||
}
|
||||
|
||||
public @NonNull MessageService messageService() {
|
||||
|
||||
Reference in new issue
Block a user