fix iChat thinking it's mChat

This commit is contained in:
sleak 2011-12-06 07:06:06 -08:00
parent 442d852ef0
commit dea0358065

View File

@ -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"));
}
}
}