/// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void MessageRecieved(object sender, ModMessageReceivedEventArgs e) { if (e.FromModID == "SgtPickles.MTN") { if (e.Type == "MTNBeforeServerIntro") { ServerIntro newMsg = e.ReadAs <ServerIntro>(); Game1.whichFarm = newMsg.Mode; CustomManager.LoadCustomFarm(newMsg.Mode); } } }