mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-27 04:55:33 +01:00
fix iChat thinking it's mChat
This commit is contained in:
parent
442d852ef0
commit
dea0358065
@ -37,10 +37,10 @@ public class Chat_iChat extends Chat {
|
||||
|
||||
// Load Plugin in case it was loaded before
|
||||
if (iChat == null) {
|
||||
Plugin chat = plugin.getServer().getPluginManager().getPlugin("mChat");
|
||||
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(), "mChat"));
|
||||
log.info(String.format("[%s][Chat] %s hooked.", plugin.getDescription().getName(), "iChat"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user