mirror of https://github.com/MilkBowl/Vault.git
fix towny hook, version adjustment for next release, possibly fix
herotitle hook.
This commit is contained in:
parent
92862d4e7e
commit
7fbe05f7d4
|
@ -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
|
||||
|
|
|
@ -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"));
|
||||
|
|
Loading…
Reference in New Issue