Merge pull request #25 from AtlasMediaGroup/Elmon11-patch-1

removing BukkitTelnet from untouchable plugins
This commit is contained in:
Ivan 2021-02-17 18:25:19 -05:00 committed by GitHub
commit 3b666f1fde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ import org.bukkit.plugin.PluginManager;
public class Command_plugincontrol extends FreedomCommand public class Command_plugincontrol extends FreedomCommand
{ {
private final List<String> UNTOUCHABLE_PLUGINS = Arrays.asList(plugin.getName(), "BukkitTelnet"); private final List<String> UNTOUCHABLE_PLUGINS = Arrays.asList(plugin.getName());
@Override @Override
public boolean run(CommandSender sender, Player playerSender, Command cmd, String commandLabel, String[] args, boolean senderIsConsole) public boolean run(CommandSender sender, Player playerSender, Command cmd, String commandLabel, String[] args, boolean senderIsConsole)