mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-04 22:21:52 +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
+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.63</version>
|
<version>0.64</version>
|
||||||
|
|
||||||
<licenses>
|
<licenses>
|
||||||
<license>
|
<license>
|
||||||
|
|||||||
@@ -280,3 +280,5 @@ v0.63:
|
|||||||
- New Permission Node: townychat.spam.bypass
|
- New Permission Node: townychat.spam.bypass
|
||||||
- Defaults to ops.
|
- 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())) {
|
if (defaultChannel != null && defaultChannel.isPresent(player.getName())) {
|
||||||
nextChannel = defaultChannel;
|
nextChannel = defaultChannel;
|
||||||
if (!nextChannel.getName().equalsIgnoreCase(channel.getName())) {
|
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 {
|
} else {
|
||||||
// They're talking on default channel and want to leave but can't because they'll be put default again
|
// 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.
|
// Their only option out is to leave the channel if they have permission to do so.
|
||||||
|
|||||||
Reference in new issue
Block a user