- Fix townychat.spam.bypass doing the opposite of its job.
This commit is contained in:
Llm Dl committed 2020-11-20 17:27:09 -06:00
1 parent 2044a6bd69
commit 61f5b27aa8
3 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@
<groupId>com.palmergames.bukkit</groupId>
<artifactId>TownyChat</artifactId>
<packaging>jar</packaging>
<version>0.82</version>
<version>0.83</version>
<licenses>
<license>
+3 -1
View File
@@ -345,4 +345,6 @@ v0.81:
- Fix double prefix displaying on the message shown when using a channel command for the channel you're already joined to.
v0.82:
- Fix Towny not being in the depend list (instead of the softdepend list.)
- Should solve load order issues.
- Should solve load order issues.
v0.83:
- Fix townychat.spam.bypass doing the opposite of its job.
@@ -254,7 +254,7 @@ public abstract class Channel {
* @return
*/
public boolean isSpam(Player player) {
if (!player.hasPermission("townychat.spam.bypass"))
if (player.hasPermission("townychat.spam.bypass"))
return false;
long timeNow = System.currentTimeMillis();
long spam = timeNow;