mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-01 14:38:57 +00:00
- Remove ignorecancelled=true from AsyncPlayerChatEvent in order to make
TC respect other plugins' cancelling of chat in some places.
This commit is contained in:
1 parent
cedd657ece
commit
67ce04996a
4 files changed
+8
-10
No files matched your search
@@ -12,3 +12,4 @@
|
||||
|
||||
# Prevent Maven Leakage
|
||||
/target
|
||||
/.settings/
|
||||
@@ -7,7 +7,7 @@
|
||||
<groupId>com.palmergames.bukkit</groupId>
|
||||
<artifactId>TownyChat</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>0.57-SNAPSHOT</version>
|
||||
<version>0.57</version>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
@@ -44,9 +44,6 @@
|
||||
</scm>
|
||||
|
||||
<repositories>
|
||||
<!--TODO: Add Repositories for...
|
||||
- Towny (if not building from local sources)
|
||||
-->
|
||||
<repository>
|
||||
<id>spigot-repo</id>
|
||||
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
||||
@@ -60,17 +57,16 @@
|
||||
<url>http://repo.mikeprimm.com</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<!--Temporary: Switch to GitHub Packages after beta grant-->
|
||||
<id>articdive-repo</id>
|
||||
<url>https://nexus.articdive.de/repository/maven-releases</url>
|
||||
<id>github-Towny</id>
|
||||
<url>https://maven.pkg.github.com/TownyAdvanced/Towny</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.palmergames</groupId>
|
||||
<groupId>com.palmergames.bukkit.towny</groupId>
|
||||
<artifactId>Towny</artifactId>
|
||||
<version>0.94.0.5</version>
|
||||
<version>LATEST</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
@@ -241,3 +241,4 @@ v0.57:
|
||||
- TownyChat now utilizes the Maven build system.
|
||||
- EssentialsX Replaces Essentials for API, Dynmap-API is updated for Dynmap v3.
|
||||
- Removed CraftIRC and HeroicDeath as dependencies.
|
||||
- Remove ignorecancelled=true from AsyncPlayerChatEvent in order to make TC respect other plugins' cancelling of chat in some places.
|
||||
@@ -65,7 +65,7 @@ public class TownyChatPlayerListener implements Listener {
|
||||
}
|
||||
}
|
||||
|
||||
@EventHandler(priority = EventPriority.LOW, ignoreCancelled = true)
|
||||
@EventHandler(priority = EventPriority.LOW)
|
||||
public void onPlayerChat(AsyncPlayerChatEvent event) {
|
||||
|
||||
Player player = event.getPlayer();
|
||||
|
||||
Reference in new issue
Block a user