implements MessageReceiver changes in https://github.com/CanaryModTeam/CanaryLib/commit/af3abf2cc4241fd585f01b9aaf63a6cf728e2969