Solved Config problems

Discussion in 'Plugin Development' started by Assist, Sep 1, 2013.

Thread Status:
Not open for further replies.
  1. I'm quite lost now.. I have this in my config
    Code:
    - 282:2
    and when I reload it, I get an ArrayIndexOutOfBoundsException on this line
    Code:
    size = Integer.valueOf(split[1]);
    And this is because when I reload my config, for some reason, it sets the value to
    Code:
    - 21422
    I haven't really messed with config files, or yml files in general, so I don't know what's wrong. Tell me if you need moar code.

    Edit: Looks like it was some weird bukkit problem - even though I compiled a new jar, it kept reading from the old one. Solved.
     
Thread Status:
Not open for further replies.

Share This Page