Solved Args Help

Discussion in 'Spigot Plugin Development' started by YoloSanta, May 27, 2018.

Thread Status:
Not open for further replies.
  1. Im getting back into coding after a break, and I'm getting really confused on this topic.

    My Code.
    The Error.
     
  2. your grabing the player object from args[0] before the length validation, nest it after args.length >0 or whatever you used
     
  3. thanks, that fixed it!
     
Thread Status:
Not open for further replies.