- Removed "[Towny] Modes set: " line seen when a player changes
channels.
This commit is contained in:
Llm Dl committed 2019-12-04 15:35:18 -06:00
1 parent 0a92c5ac1c
commit 0b01ad12c9
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.63</version>
<version>0.64</version>
<licenses>
<license>
+3 -1
View File
@@ -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.
@@ -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.