Exemplo n.º 1
0
        public async void SellGrid(int ID, long price, string description)
        {
            if (!Hangar.Config.PluginEnabled)
            {
                return;
            }

            if (Context.Player == null || !Hangar.Config.GridMarketEnabled)
            {
                Context.Respond("This is a player only command!");
                return;
            }


            PlayerChecks User = new PlayerChecks(Context);
            await HangarCommandSystem.RunTaskAsync(() => User.SellGrid(ID, price, description), Context);
        }