Solved Help with args[]

Discussion in 'Plugin Development' started by darkbro100, Dec 7, 2013.

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

    darkbro100

  2. Offline

    The_Doctor_123

    I think you need to redo your code. The bodies are malformed.
     
  3. Offline

    darkbro100


    Yea, I know.
     
  4. Offline

    MrDynamo

    I believe that the args.length part is wrong. The first part of the command does not count as an argument, so check if args.length == 1

    EDIT: Nevermind, I thought /addpoints was the command
     
  5. Offline

    darkbro100


    Well, in the midst of reformatting all the code, I found out what was wrong and I fixed it.

    Haha, thanks anyways!
     
Thread Status:
Not open for further replies.

Share This Page