mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-04 22:21:52 +00:00
v0.86:
- Fix firing PlayerJoinChatChannelEvent async.
This commit is contained in:
1 parent
6b7aeaaf61
commit
c94342ca2b
3 files changed
+4
-2
No files matched your search
@@ -7,7 +7,7 @@
|
|||||||
<groupId>com.palmergames.bukkit</groupId>
|
<groupId>com.palmergames.bukkit</groupId>
|
||||||
<artifactId>TownyChat</artifactId>
|
<artifactId>TownyChat</artifactId>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<version>0.85</version>
|
<version>0.86</version>
|
||||||
|
|
||||||
<licenses>
|
<licenses>
|
||||||
<license>
|
<license>
|
||||||
|
|||||||
@@ -365,3 +365,5 @@ v0.85:
|
|||||||
- Bump minimum Towny version to 0.96.5.5.
|
- Bump minimum Towny version to 0.96.5.5.
|
||||||
- Fix permission tests being done too early on PlayerJoin.
|
- 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)
|
@EventHandler(priority = EventPriority.LOW)
|
||||||
public void onPlayerJoin(final PlayerJoinEvent event) {
|
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