resloves pull rquest issue

This commit is contained in:
SoRadGaming 2021-01-19 13:06:20 +11:00
parent 0a2eddcc46
commit 8da82e577e
3 changed files with 0 additions and 3 deletions

View File

@ -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 !"

View File

@ -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 !");

View File

@ -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());
}
}