mirror of
https://github.com/ryandw11/UltraChat.git
synced 2024-11-22 02:07:58 +01:00
resloves pull rquest issue
This commit is contained in:
parent
0a2eddcc46
commit
8da82e577e
@ -35,7 +35,6 @@ sjoin-other-hide: '&b%p Join/Leave message will no longer be shown!'
|
||||
help-page-error: '&cThere are only two help pages!'
|
||||
chat-color-change: 'Your chat color has been changed!'
|
||||
no-perm-channel: '&cYou do not have permission for this command.'
|
||||
no-perm-join: "You do not have permission to join that channel."
|
||||
channel-null: "That channel does not exist!"
|
||||
error-channel-in: "Error: you are currently in the channel"
|
||||
channel-change: "You are now in the channel %s !"
|
||||
|
@ -42,7 +42,6 @@ public enum Lang {
|
||||
HELP_PAGE_ERROR("help-page-error", "&cThere are only two help pages!"),
|
||||
CHAT_COLOR_CHANGE("chat-color-change", "Your chat color has been changed!"),
|
||||
NO_PERM_CHANNEL("no-perm-channel", "&cYou do not have permission for this command."),
|
||||
NO_PERM_JOIN("no-perm-join", "You do not have permission to join that channel." ),
|
||||
CHANNEL_NULL("channel-null", "That channel does not exist!"),
|
||||
ERROR_CHANNEL_IN("error-channel-in", "&cError: you are currently in the channel"),
|
||||
CHANNEL_CHANGE("channel-change", "You are now in the channel %s !");
|
||||
|
@ -78,7 +78,6 @@ public class ChannelCmd implements CommandExecutor {
|
||||
p.sendMessage(Lang.CHANNEL_CHANGE.toString().replace("%s", args[0]));
|
||||
}
|
||||
else{
|
||||
p.sendMessage(Lang.NO_PERM_JOIN.toString());
|
||||
p.sendMessage(Lang.NO_PERM_CHANNEL.toString());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user