You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See Discord thread here (in RayzrDev server, join here)
the conclusion of the above thread is:
... looks like the correct solution would be to have JSONMessage send UUID(0L, 0L) by default, and allow the specification of a custom UUID at send-time
this is used in the client as such:
publicvoidonChatMessage(MessageTypearg, Textarg2, UUIDuUID) {
if (!this.client.shouldBlockMessages(uUID)) {
if (arg != MessageType.CHAT) {
this.client.inGameHud.getChatHud().addMessage(arg2);
} else {
this.client.inGameHud.getChatHud().method_27147(arg2);
}
}
}
to verify whether the user should see messages, depending on whether online chat is enabled or not.
If online chat is disabled, it will verify the UUID is null / not the player
currently JSONMessage just sends a random UUID each time. this is not expected behavior and would cause system messages to be hidden from the user if online chat is disabled.
the conclusion of the above thread is:
this is used in the client as such:
to verify whether the user should see messages, depending on whether online chat is enabled or not.
currently JSONMessage just sends a random UUID each time. this is not expected behavior and would cause system messages to be hidden from the user if online chat is disabled.
also see: Chat class in Bungee
credits @I-Al-Istannen & @extendedclip for a lot of these findings
The text was updated successfully, but these errors were encountered: