Plugin Error on for loop

Discussion in 'Plugin Help/Development/Requests' started by Corndogoz, May 27, 2015.

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

    Corndogoz

    hi guys, so today i am having a plugin error which is just on this line: for (String s : players) { players is a string arraylist btw
     

    Attached Files:

  2. Offline

    _Filip

    code pls
     
  3. Offline

    Corndogoz

    well i gave you the line the error is on so... what more do u need
     
  4. Offline

    _Filip

    the code
     
  5. Offline

    Not2EXceL

    1) thats stupid, we cant magically help u with an issue with just a number
    2) dont modify your collection while iterating it, if its removal use an iterator, or iterate a clone, or dont use a foreach loop
     
    nverdier likes this.
  6. @Corndogoz If you fail to provide the code don't expect any help. We need to see your code to help.
     
  7. @Corndogoz You should read the "troubleshoot your own plugins" and then find out more about the exception that you're being given. Also, I'm the "random guy" from the quote in your signature, not sure why you have that as your signature :p
     
  8. @AdamQpzm Yeah I remember that :p I was the one who moved it.

    Moved to Bukkit Alternates.
     
    AdamQpzm likes this.
Thread Status:
Not open for further replies.

Share This Page