mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-03 06:28:57 +00:00
v0.81:
- Fix double prefix displaying on the message shown when using a channel command for the channel you're already joined to.
This commit is contained in:
1 parent
4e305f9038
commit
6be15e699c
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.80</version>
|
||||
<version>0.81</version>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
|
||||
@@ -340,4 +340,6 @@ v0.79:
|
||||
- Removes double prefixes ie: [Towny] [TownyChat] message....
|
||||
v0.80:
|
||||
- Add townychat.chat.format.* childnodes to plugin.yml so players are explicitly not given them.
|
||||
- Closes https://github.com/TownyAdvanced/Towny/issues/4351
|
||||
- Closes https://github.com/TownyAdvanced/Towny/issues/4351
|
||||
v0.81:
|
||||
- Fix double prefix displaying on the message shown when using a channel command for the channel you're already joined to.
|
||||
+1
-1
@@ -36,7 +36,7 @@ public class ChannelJoinAliasCommand extends BukkitCommand {
|
||||
}
|
||||
if (message.isEmpty()) {
|
||||
if (plugin.getTowny().hasPlayerMode(player, channel.getName())) {
|
||||
TownyMessaging.sendErrorMsg(player, String.format(Translation.of("tc_you_are_already_in_channel"), channel.getName()));
|
||||
TownyMessaging.sendMessage(player, String.format(Translation.of("tc_you_are_already_in_channel"), channel.getName()));
|
||||
return true;
|
||||
} else {
|
||||
// You can join a channel if:
|
||||
|
||||
Reference in new issue
Block a user