Skip to content

Commit

Permalink
v0.86:
Browse files Browse the repository at this point in the history
  - Fix firing PlayerJoinChatChannelEvent async.
  • Loading branch information
LlmDl committed Jan 16, 2021
1 parent 6b7aeaa commit c94342c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
4 changes: 3 additions & 1 deletion resources/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public TownyChatPlayerListener(Chat instance) {
@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);

}

Expand Down

0 comments on commit c94342c

Please sign in to comment.