Solved Updater not getting right file

Discussion in 'Plugin Development' started by Condolent, Jul 2, 2014.

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

    Condolent

    So I'm using Gravity's updater.
    Now I just got a file for my plugin McRPG approved (uploaded yesterday). It's been like 6 hours since it was approved now.
    Here's my problem: When using the plugin (v1.2) it says a new version is available, and that it is v1.1... What is wrong and why isn't it grabbing the right file and version?
    My onEnable code with the updater:
    Code:java
    1. Updater updater = new Updater(this, 75582, this.getFile(), Updater.UpdateType.NO_DOWNLOAD, false);
    2. if(updater.getResult() == UpdateResult.UPDATE_AVAILABLE) {
    3. getLogger().info("********* McRPG Auto-Updater *********");
    4. getLogger().info("* A new version of McRPG is *");
    5. getLogger().info("* available for download! *");
    6. getLogger().info("* " + updater.getLatestName() + " *");
    7. getLogger().info("**************************************");
    8. }


    First I thought that it just needed some time to update the server so it'd take the right file. But it's been over 6 hours, shouldn't it be working by now?

    It was just bukkit's servers that was a bit on edge that led to this problem! :p

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
Thread Status:
Not open for further replies.

Share This Page