really fix iChat

This commit is contained in:
sleak 2011-12-06 21:27:59 -08:00
parent 0b039afa87
commit 7677cb84bc
2 changed files with 4 additions and 5 deletions

View File

@ -1,6 +1,6 @@
name: Vault
main: net.milkbowl.vault.Vault
version: 1.1.7-b000
version: 1.1.8-b000
author: Cereal
softdepend: [ iConomy, BOSEconomy, Essentials, EconXP, eWallet, 3co, MineConomy, MultiCurrency, iChat, mChat, bPermissions, GroupManager, Permissions, PermissionsBukkit, PermissionsEx ]
description: >

View File

@ -39,8 +39,8 @@ public class Chat_iChat extends Chat {
if (iChat == null) {
Plugin chat = plugin.getServer().getPluginManager().getPlugin("iChat");
if (chat != null) {
iChat = ((iChat) plugin).API;
log.info(String.format("[%s][Chat] %s hooked.", plugin.getDescription().getName(), "iChat"));
iChat = ((iChat) chat).API;
log.info(String.format("[%s][Chat] %s hooked.", chat.getDescription().getName(), "iChat"));
}
}
}
@ -213,8 +213,7 @@ public class Chat_iChat extends Chat {
@Override
public boolean getGroupInfoBoolean(String world, String group, String node, boolean defaultValue) {
// TODO Auto-generated method stub
return false;
throw new UnsupportedOperationException("iChat does not support group info nodes!");
}
@Override