fix missing initial hook.

This commit is contained in:
Sleaker 2012-08-26 09:02:38 -07:00
parent 40537571eb
commit 9e6a0364be

View File

@ -49,6 +49,7 @@ public class Chat_mChatSuite extends Chat {
if (mChat == null) { if (mChat == null) {
Plugin chat = plugin.getServer().getPluginManager().getPlugin("mChatSuite"); Plugin chat = plugin.getServer().getPluginManager().getPlugin("mChatSuite");
if (chat != null && chat.isEnabled()) { if (chat != null && chat.isEnabled()) {
mChat = (mChatSuite) chat;
log.info(String.format("[%s][Chat] %s hooked.", plugin.getDescription().getName(), "mChatSuite")); log.info(String.format("[%s][Chat] %s hooked.", plugin.getDescription().getName(), "mChatSuite"));
} }
} }