I may have solved the problem. I looked on GitHub and the input to the I2C method is different than what I had. However, I still have not yet gotten temperature readings over MQTT.
The current version of mc-Studio has the same code as on GitHub. My project was just using a legacy library.