mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-04 06:28:57 +00:00
v0.60:
- A more-thorough fix for TC still not respecting the cancelling of chat.
This commit is contained in:
1 parent
796639a8e3
commit
cdae079186
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.59</version>
|
<version>0.60</version>
|
||||||
|
|
||||||
<licenses>
|
<licenses>
|
||||||
<license>
|
<license>
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user