- A more-thorough fix for TC still not respecting the cancelling of
chat.
This commit is contained in:
Llm Dl committed 2019-10-28 07:30:13 -05:00
1 parent 796639a8e3
commit cdae079186
3 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -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.59</version> <version>0.60</version>
<licenses> <licenses>
<license> <license>
+2
View File
@@ -251,3 +251,5 @@ v0.58:
- Drop API version back to 1.13 because there's a 0.95.0.0 for 1.13 that has the new TownyAPI in it. - Drop API version back to 1.13 because there's a 0.95.0.0 for 1.13 that has the new TownyAPI in it.
v0.59: v0.59:
- Fix {townycolor} not rendering properly for nomads. - Fix {townycolor} not rendering properly for nomads.
v0.60:
- A more-thorough fix for TC still not respecting the cancelling of chat.
@@ -65,8 +65,8 @@ public class TownyChatPlayerListener implements Listener {
} }
} }
@EventHandler(priority = EventPriority.LOW)
public void onPlayerChat(AsyncPlayerChatEvent event) { public void onPlayerChat(AsyncPlayerChatEvent event) {
if (event.isCancelled()) return;
Player player = event.getPlayer(); Player player = event.getPlayer();