Add missing plugin name from 6eb138d333

This commit is contained in:
BuildTools 2019-01-28 20:09:10 -05:00
parent 1988c3a317
commit 931faf12ce

View File

@ -628,7 +628,7 @@ public class QuestFactory implements ConversationAbandonedListener {
text += ChatColor.GREEN + region + ", ";
}
} catch (NoSuchMethodError e) {
String version = plugin.getServer().getPluginManager().getPlugin("").getDescription().getVersion();
String version = plugin.getServer().getPluginManager().getPlugin("WorldGuard").getDescription().getVersion();
plugin.getLogger().severe("Quests does not currently support regions for WorldGuard " + version);
return ChatColor.RED + Lang.get("questWGNotInstalled");
}