mirror of
https://github.com/MilkBowl/Vault.git
synced 2025-03-02 11:31:05 +01:00
really fix iChat
This commit is contained in:
parent
0b039afa87
commit
7677cb84bc
@ -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: >
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user