Solved Nvm, I am dumb.

Discussion in 'Plugin Development' started by adde, Mar 21, 2013.

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

    adde

    Old thread stuff below.


    I know this might not even be possible but I have to get this work somehow:
    Code:
    boolean count = plugin.config.getBoolean("ListMotds.Count");
    Random r = new Random();
    int num = r.nextInt(count) + 1;
    How would I make it work?
     
Thread Status:
Not open for further replies.

Share This Page