public override void PostDrawInterface(SpriteBatch spriteBatch)
        {
            MPlayer player = Main.player[Main.myPlayer].GetModPlayer <MPlayer>(this);

            player.Draw(spriteBatch);
            base.PostDrawInterface(spriteBatch);
        }
 public override void HotKeyPressed(string name)
 {
     if (PlayerInput.Triggers.JustPressed.KeyStatus[GetTriggerName(this, name)])
     {
         if (name.Equals(changeKey.Name))
         {
             MPlayer player = Main.player[Main.myPlayer].GetModPlayer <MPlayer>(this);
             player.SwapHotbars();
         }
     }
 }