diff --git a/src/main/java/net/cybercake/bungee/commands/VersionCMD.java b/src/main/java/net/cybercake/bungee/commands/VersionCMD.java index 32683cd..c4a38f5 100644 --- a/src/main/java/net/cybercake/bungee/commands/VersionCMD.java +++ b/src/main/java/net/cybercake/bungee/commands/VersionCMD.java @@ -86,7 +86,7 @@ public void execute(CommandSender sender, String[] args) { String pluginName = args[0]; Plugin exactPlugin = ProxyServer.getInstance().getPluginManager().getPlugin(pluginName); if(exactPlugin != null) { - if(Plugins.config.getBoolean("useAlternatePluginVersionMessage")) showAlternatePluginVersion(sender, exactPlugin); + if(Plugins.config.getBoolean("useAlternatePluginSpecificVersionMessage")) showAlternatePluginVersion(sender, exactPlugin); else showPlugin(sender, exactPlugin); return; } @@ -95,7 +95,7 @@ public void execute(CommandSender sender, String[] args) { pluginName = pluginName.toLowerCase(Locale.ROOT); for(Plugin plugin : ProxyServer.getInstance().getPluginManager().getPlugins()) { if(plugin.getDescription().getName().toLowerCase(Locale.ROOT).contains(pluginName)) { - if(Plugins.config.getBoolean("useAlternatePluginVersionMessage")) showAlternatePluginVersion(sender, plugin); + if(Plugins.config.getBoolean("useAlternatePluginSpecificVersionMessage")) showAlternatePluginVersion(sender, plugin); else showPlugin(sender, plugin); found = true; }