- Fix firing PlayerJoinChatChannelEvent async.
This commit is contained in:
Llm Dl committed 2021-01-16 11:43:42 -06:00
1 parent 6b7aeaaf61
commit c94342ca2b
3 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -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>
+3 -1
View File
@@ -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);
}