mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-03 14:38:56 +00:00
v0.64:
- Removed "[Towny] Modes set: " line seen when a player changes channels.
This commit is contained in:
1 parent
0a92c5ac1c
commit
0b01ad12c9
3 files changed
+5
-3
No files matched your search
@@ -7,7 +7,7 @@
|
||||
<groupId>com.palmergames.bukkit</groupId>
|
||||
<artifactId>TownyChat</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>0.63</version>
|
||||
<version>0.64</version>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
|
||||
@@ -279,4 +279,6 @@ v0.63:
|
||||
- in your chatconfig.yml you can remove the "spam_time: '0.5'" line before or after updating.
|
||||
- New Permission Node: townychat.spam.bypass
|
||||
- Defaults to ops.
|
||||
- Bypasses spam check.
|
||||
- Bypasses spam check.
|
||||
v0.64:
|
||||
- Removed "[Towny] Modes set: " line seen when a player changes channels.
|
||||
+1
-1
@@ -42,7 +42,7 @@ public class ChannelJoinAliasCommand extends BukkitCommand {
|
||||
if (defaultChannel != null && defaultChannel.isPresent(player.getName())) {
|
||||
nextChannel = defaultChannel;
|
||||
if (!nextChannel.getName().equalsIgnoreCase(channel.getName())) {
|
||||
TownyUtil.removeAndSetPlayerMode(plugin.getTowny(), player, channel.getName(), nextChannel.getName(), true);
|
||||
TownyUtil.removeAndSetPlayerMode(plugin.getTowny(), player, channel.getName(), nextChannel.getName(), false);
|
||||
} else {
|
||||
// They're talking on default channel and want to leave but can't because they'll be put default again
|
||||
// Their only option out is to leave the channel if they have permission to do so.
|
||||
|
||||
Reference in new issue
Block a user