mirror of https://github.com/MilkBowl/Vault.git
finish fixing iChat implementation
This commit is contained in:
parent
aac104d805
commit
0b039afa87
|
@ -1,6 +1,6 @@
|
||||||
name: Vault
|
name: Vault
|
||||||
main: net.milkbowl.vault.Vault
|
main: net.milkbowl.vault.Vault
|
||||||
version: 1.1.6-b000
|
version: 1.1.7-b000
|
||||||
author: Cereal
|
author: Cereal
|
||||||
softdepend: [ iConomy, BOSEconomy, Essentials, EconXP, eWallet, 3co, MineConomy, MultiCurrency, iChat, mChat, bPermissions, GroupManager, Permissions, PermissionsBukkit, PermissionsEx ]
|
softdepend: [ iConomy, BOSEconomy, Essentials, EconXP, eWallet, 3co, MineConomy, MultiCurrency, iChat, mChat, bPermissions, GroupManager, Permissions, PermissionsBukkit, PermissionsEx ]
|
||||||
description: >
|
description: >
|
||||||
|
|
|
@ -56,8 +56,8 @@ public class Chat_iChat extends Chat {
|
||||||
if (this.chat.iChat == null) {
|
if (this.chat.iChat == null) {
|
||||||
Plugin chat = plugin.getServer().getPluginManager().getPlugin("iChat");
|
Plugin chat = plugin.getServer().getPluginManager().getPlugin("iChat");
|
||||||
if (chat != null) {
|
if (chat != null) {
|
||||||
this.chat.iChat = ((iChat) plugin).API;
|
this.chat.iChat = ((iChat) chat).API;
|
||||||
log.info(String.format("[%s][Chat] %s hooked.", plugin.getDescription().getName(), "iChat"));
|
log.info(String.format("[%s][Chat] %s hooked.", chat.getDescription().getName(), "iChat"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue