I am just having a small error

Discussion in 'Plugin Development' started by Dinoosawruss, Feb 27, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    Dinoosawruss

    Hey I dont know what I have done wrong here

    Code:
            getCommand("cbal").setExecutor(new cbal);
            getCommand("cgive").setExecutor(new cgive);
            getCommand("cshop").setExecutor(new cshop);
    The Executor is where the error is
     
    Last edited by a moderator: Feb 27, 2017
  2. Offline

    AlvinB

    @Dinoosawruss
    And what error are you getting?

    My guess would be that you're missing parenthesis after the making the new instances of the classes.
     
  3. Offline

    Dinoosawruss

    Syntax error, insert "( )" to complete ArgumentList
     
  4. Offline

    timtower Moderator Moderator

  5. Offline

    Dinoosawruss

    Thanks XD
     
  6. Offline

    Zombie_Striker

    @Dinoosawruss
    If your problem has been solved, mark this thread as solved.
     
Thread Status:
Not open for further replies.

Share This Page