mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-02 14:38:57 +00:00
- Delay the login task by another tick so that the player's locale has
been determined on the server.
- Closes https://github.com/TownyAdvanced/Towny/issues/5802
This commit is contained in:
1 parent
956912481b
commit
671a03ab86
3 files changed
+5
-3
No files matched your search
@@ -7,7 +7,7 @@
|
||||
<groupId>com.palmergames.bukkit</groupId>
|
||||
<artifactId>TownyChat</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>0.96</version>
|
||||
<version>0.97</version>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
|
||||
@@ -404,4 +404,6 @@ v0.96:
|
||||
- Display invalid subcommand message when /ch is used with an invalid subcommand.
|
||||
- Replace the splitter for channels saved in metadata with the , symbol.
|
||||
v0.97:
|
||||
- Fix the display_channel_join_message_on_joining_the_server option in the config not being used.
|
||||
- Fix the display_channel_join_message_on_joining_the_server option in the config not being used.
|
||||
- Delay the login task by another tick so that the player's locale has been determined on the server.
|
||||
- Closes https://github.com/TownyAdvanced/Towny/issues/5802
|
||||
@@ -40,7 +40,7 @@ public class TownyChatPlayerListener implements Listener {
|
||||
@EventHandler(priority = EventPriority.LOW)
|
||||
public void onPlayerJoin(final PlayerJoinEvent event) {
|
||||
|
||||
Bukkit.getScheduler().runTaskLater(plugin, () -> loginPlayer(event.getPlayer()), 1l);
|
||||
Bukkit.getScheduler().runTaskLater(plugin, () -> loginPlayer(event.getPlayer()), 2l);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user