Overlooked chat message support *sigh*. Fixes wierd mods that communicate through custom

chat messages rather than anything else. Hi Superior enchanting!
This commit is contained in:
Christian committed 2012-09-04 12:37:59 -04:00
1 parent a697d043fc
commit 8fccfa21df
10 files changed
+126 -45

No files matched your search

@@ -40,6 +40,7 @@ import cpw.mods.fml.common.IPickupNotifier;
import cpw.mods.fml.common.IWorldGenerator;
import cpw.mods.fml.common.Loader;
import cpw.mods.fml.common.TickType;
import cpw.mods.fml.common.network.IChatListener;
import cpw.mods.fml.common.network.IConnectionHandler;
import cpw.mods.fml.common.network.IGuiHandler;
import cpw.mods.fml.common.network.IPacketHandler;
@@ -197,4 +198,9 @@ public class ModLoaderHelper
mlmc.addServerCommand(command);
}
}
public static IChatListener buildChatListener(BaseModProxy mod)
{
return new ModLoaderChatListener(mod);
}
}