mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-04 22:21:52 +00:00
v0.83:
- Fix townychat.spam.bypass doing the opposite of its job.
This commit is contained in:
1 parent
2044a6bd69
commit
61f5b27aa8
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.82</version>
|
<version>0.83</version>
|
||||||
|
|
||||||
<licenses>
|
<licenses>
|
||||||
<license>
|
<license>
|
||||||
|
|||||||
@@ -346,3 +346,5 @@ v0.81:
|
|||||||
v0.82:
|
v0.82:
|
||||||
- Fix Towny not being in the depend list (instead of the softdepend list.)
|
- 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
|
* @return
|
||||||
*/
|
*/
|
||||||
public boolean isSpam(Player player) {
|
public boolean isSpam(Player player) {
|
||||||
if (!player.hasPermission("townychat.spam.bypass"))
|
if (player.hasPermission("townychat.spam.bypass"))
|
||||||
return false;
|
return false;
|
||||||
long timeNow = System.currentTimeMillis();
|
long timeNow = System.currentTimeMillis();
|
||||||
long spam = timeNow;
|
long spam = timeNow;
|
||||||
|
|||||||
Reference in new issue
Block a user