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
Description
When using @PostSubscribe and sending a message to the player, the message will appear before the actual chat message from the player.
To Reproduce the Bug
@PostSubscribepublicvoidonChat(ChatSendEventevent, ChatConfigconfig, ClientPlayerplayer) {
if (event.getMessage().equals("Remind me!")) {
player.sendMessage(
textComponentBuilderFactory.newBuilder().text("You will be reminded in 60 seconds!").build(), null);
}
}
Chat output:
You will be reminded in 60 seconds!
<FlintGradle> Remind me!
Expected behavior
The message You will be reminded in 60 seconds! appears after the Remind me! message has been displayed.
Screenshots
Log Output
[21:04:01] [Server thread/INFO]: <FlintGradle> Remind me!
[21:04:01] [main/INFO]: [CHAT] You will be reminded in 60 seconds!
[21:04:01] [main/INFO]: [CHAT] <FlintGradle> Remind me!
System Information (please fill in):
Operating System: Arch Linux 5.11.6-arch1-1
Launcher: flint-gradle
Installed Mods: Modified package template
Flint Version: 2.0.26
Minecraft Versions: 1.15.2
Java Version: OpenJDK 64-Bit Server VM (build 25.282-b08, mixed mode)
The text was updated successfully, but these errors were encountered:
Description
When using
@PostSubscribe
and sending a message to the player, the message will appear before the actual chat message from the player.To Reproduce the Bug
Chat output:
Expected behavior
The message
You will be reminded in 60 seconds!
appears after theRemind me!
message has been displayed.Screenshots
Log Output
System Information (please fill in):
The text was updated successfully, but these errors were encountered: