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
+14
-16
No files matched your search
+2
-1
@@ -11,4 +11,5 @@
|
|||||||
/bin
|
/bin
|
||||||
|
|
||||||
# Prevent Maven Leakage
|
# Prevent Maven Leakage
|
||||||
/target
|
/target
|
||||||
|
/.settings/
|
||||||
@@ -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.57-SNAPSHOT</version>
|
<version>0.57</version>
|
||||||
|
|
||||||
<licenses>
|
<licenses>
|
||||||
<license>
|
<license>
|
||||||
@@ -44,9 +44,6 @@
|
|||||||
</scm>
|
</scm>
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
<!--TODO: Add Repositories for...
|
|
||||||
- Towny (if not building from local sources)
|
|
||||||
-->
|
|
||||||
<repository>
|
<repository>
|
||||||
<id>spigot-repo</id>
|
<id>spigot-repo</id>
|
||||||
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
||||||
@@ -60,18 +57,17 @@
|
|||||||
<url>http://repo.mikeprimm.com</url>
|
<url>http://repo.mikeprimm.com</url>
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
<repository>
|
||||||
<!--Temporary: Switch to GitHub Packages after beta grant-->
|
<id>github-Towny</id>
|
||||||
<id>articdive-repo</id>
|
<url>https://maven.pkg.github.com/TownyAdvanced/Towny</url>
|
||||||
<url>https://nexus.articdive.de/repository/maven-releases</url>
|
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.palmergames</groupId>
|
<groupId>com.palmergames.bukkit.towny</groupId>
|
||||||
<artifactId>Towny</artifactId>
|
<artifactId>Towny</artifactId>
|
||||||
<version>0.94.0.5</version>
|
<version>LATEST</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.bukkit</groupId>
|
<groupId>org.bukkit</groupId>
|
||||||
|
|||||||
@@ -238,6 +238,7 @@ v0.55:
|
|||||||
v0.56:
|
v0.56:
|
||||||
- Upgrade TownyChat to use the new Towny API (0.94.0.2+).
|
- Upgrade TownyChat to use the new Towny API (0.94.0.2+).
|
||||||
v0.57:
|
v0.57:
|
||||||
- TownyChat now utilizes the Maven build system.
|
- TownyChat now utilizes the Maven build system.
|
||||||
- EssentialsX Replaces Essentials for API, Dynmap-API is updated for Dynmap v3.
|
- EssentialsX Replaces Essentials for API, Dynmap-API is updated for Dynmap v3.
|
||||||
- Removed CraftIRC and HeroicDeath as dependencies.
|
- 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) {
|
public void onPlayerChat(AsyncPlayerChatEvent event) {
|
||||||
|
|
||||||
Player player = event.getPlayer();
|
Player player = event.getPlayer();
|
||||||
|
|||||||
Reference in new issue
Block a user