mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-02 14:38:57 +00:00
v0.86:
- Fix firing PlayerJoinChatChannelEvent async.
This commit is contained in:
1 parent
6b7aeaaf61
commit
c94342ca2b
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.85</version>
|
||||
<version>0.86</version>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
|
||||
@@ -364,4 +364,6 @@ v0.84:
|
||||
v0.85:
|
||||
- Bump minimum Towny version to 0.96.5.5.
|
||||
- Fix permission tests being done too early on PlayerJoin.
|
||||
- Closes https://github.com/TownyAdvanced/Towny/issues/4615
|
||||
- Closes https://github.com/TownyAdvanced/Towny/issues/4615
|
||||
v0.86:
|
||||
- Fix firing PlayerJoinChatChannelEvent async.
|
||||
@@ -38,7 +38,7 @@ public class TownyChatPlayerListener implements Listener {
|
||||
@EventHandler(priority = EventPriority.LOW)
|
||||
public void onPlayerJoin(final PlayerJoinEvent event) {
|
||||
|
||||
Bukkit.getScheduler().runTaskLaterAsynchronously(plugin, () -> loginPlayer(event.getPlayer()), 1l);
|
||||
Bukkit.getScheduler().runTaskLater(plugin, () -> loginPlayer(event.getPlayer()), 1l);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user