Skip to content

Commit

Permalink
[Update/Bug Fix] Update Heroes dependency./Make sure Plugins MChat ho…
Browse files Browse the repository at this point in the history
…oks into are enabled before trying to use them. {Fixes MCHAT-1}
  • Loading branch information
MiracleM4n committed Sep 25, 2013
1 parent 693422d commit a6f2b72
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Project information -->
<groupId>ca.q0r</groupId>
<artifactId>MChat</artifactId>
<version>1.6.4-R0.3</version>
<version>1.6.4-R0.4</version>
<name>MChat</name>
<url>http://mdev.in/</url>
<description>Chat Formatting for Bukkit</description>
Expand Down Expand Up @@ -142,7 +142,7 @@
<dependency>
<groupId>com.herocraftonline</groupId>
<artifactId>Heroes</artifactId>
<version>1.5.3-dev-b000</version>
<version>1.5.3.3</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ca/q0r/mchat/variables/VariableManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ private static void setupPlugins() {
private static Boolean setupPlugin(String pluginName) {
Plugin plugin = Bukkit.getPluginManager().getPlugin(pluginName);

if (plugin != null) {
if (plugin != null && plugin.isEnabled()) {
MessageUtil.logFormatted("<Plugin> " + plugin.getDescription().getName() + " v" + plugin.getDescription().getVersion() + " hooked!.");
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ author: MiracleM4n
authors: [MiracleM4n]
website: http://mdev.in/
thread: http://forums.bukkit.org/threads/22958/
softdepend: [GroupManager, PermissionsBukkit, bPermissions, PermissionsEx, GeoIPTools, Vault]
softdepend: [GroupManager, PermissionsBukkit, bPermissions, PermissionsEx, GeoIPTools, Heroes, Towny, Vault]
description: Chat Formatting for Bukkit
commands:
mchat:
Expand Down

0 comments on commit a6f2b72

Please sign in to comment.