fix towny hook, version adjustment for next release, possibly fix

herotitle hook.
This commit is contained in:
Sleaker 2012-01-06 14:04:08 -08:00
parent 92862d4e7e
commit 7fbe05f7d4
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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"));