diff --git a/plugin.yml b/plugin.yml index 0a69258..b40c300 100644 --- a/plugin.yml +++ b/plugin.yml @@ -1,6 +1,6 @@ name: Vault main: net.milkbowl.vault.Vault -version: 1.2.3-b000 +version: 1.2.4-b000 authors: [cereal, Sleaker, mung3r] website: http://dev.bukkit.org/server-mods/vault load: startup diff --git a/src/net/milkbowl/vault/Vault.java b/src/net/milkbowl/vault/Vault.java index 287144c..c485e5c 100644 --- a/src/net/milkbowl/vault/Vault.java +++ b/src/net/milkbowl/vault/Vault.java @@ -173,13 +173,13 @@ public class Vault extends JavaPlugin { } //Try to load Towny Chat - if (packageExists(new String[] {"com.palmergames.bukkit.towny;"})) { + if (packageExists(new String[] { "com.palmergames.bukkit.towny.Towny" })) { Chat townChat = new Chat_Towny(this, perms); sm.register(Chat.class, townChat, this, ServicePriority.Lowest); log.info(String.format("[%s][Chat] Towny found: %s", getDescription().getName(), townChat.isEnabled() ? "Loaded" : "Waiting")); } - if (packageExists(new String[] {"com.herocraftonline.herotitles"} )) { + if (packageExists(new String[] { "com.herocraftonline.herotitles.HeroTitles" } )) { Chat htChat = new Chat_HeroTitles(this, perms, sm.getRegistration(Chat.class).getProvider()); sm.register(Chat.class, htChat, this, ServicePriority.Highest); log.info(String.format("[%s][Chat] HeroTitles found: %s", getDescription().getName(), htChat.isEnabled() ? "Loaded" : "Waiting"));