From 8da82e577ec2789f0de78b5cecfdf47526acb156 Mon Sep 17 00:00:00 2001 From: SoRadGaming <47128515+SoRadGaming@users.noreply.github.com> Date: Tue, 19 Jan 2021 13:06:20 +1100 Subject: [PATCH] resloves pull rquest issue --- src/lang.yml | 1 - src/me/ryandw11/ultrachat/api/Lang.java | 1 - src/me/ryandw11/ultrachat/commands/ChannelCmd.java | 1 - 3 files changed, 3 deletions(-) diff --git a/src/lang.yml b/src/lang.yml index db5fe58..e316966 100644 --- a/src/lang.yml +++ b/src/lang.yml @@ -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 !" diff --git a/src/me/ryandw11/ultrachat/api/Lang.java b/src/me/ryandw11/ultrachat/api/Lang.java index 4201e79..69a3ebf 100644 --- a/src/me/ryandw11/ultrachat/api/Lang.java +++ b/src/me/ryandw11/ultrachat/api/Lang.java @@ -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 !"); diff --git a/src/me/ryandw11/ultrachat/commands/ChannelCmd.java b/src/me/ryandw11/ultrachat/commands/ChannelCmd.java index 5630988..a76eb7d 100644 --- a/src/me/ryandw11/ultrachat/commands/ChannelCmd.java +++ b/src/me/ryandw11/ultrachat/commands/ChannelCmd.java @@ -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()); } }