mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-04 22:21:52 +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
+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.80</version>
|
<version>0.81</version>
|
||||||
|
|
||||||
<licenses>
|
<licenses>
|
||||||
<license>
|
<license>
|
||||||
|
|||||||
@@ -341,3 +341,5 @@ v0.79:
|
|||||||
v0.80:
|
v0.80:
|
||||||
- Add townychat.chat.format.* childnodes to plugin.yml so players are explicitly not given them.
|
- 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 (message.isEmpty()) {
|
||||||
if (plugin.getTowny().hasPlayerMode(player, channel.getName())) {
|
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;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
// You can join a channel if:
|
// You can join a channel if:
|
||||||
|
|||||||
Reference in new issue
Block a user