Przeglądaj źródła

Move Updater to independent package due to custom changes being overwritten by other plugins using the updater.

GJ 11 lat temu
rodzic
commit
8cb8dea642

+ 3 - 3
src/main/java/com/gmail/nossr50/mcMMO.java

@@ -49,9 +49,9 @@ import com.gmail.nossr50.util.commands.CommandRegistrationManager;
 import com.gmail.nossr50.util.experience.FormulaManager;
 import com.gmail.nossr50.util.player.UserManager;
 
-import net.h31ix.updater.Updater;
-import net.h31ix.updater.Updater.UpdateResult;
-import net.h31ix.updater.Updater.UpdateType;
+import net.h31ix.updater.mcmmo.Updater;
+import net.h31ix.updater.mcmmo.Updater.UpdateResult;
+import net.h31ix.updater.mcmmo.Updater.UpdateType;
 import net.shatteredlands.shatt.backup.ZipLibrary;
 
 public class mcMMO extends JavaPlugin {

+ 1 - 1
src/main/java/net/h31ix/updater/Updater.java → src/main/java/net/h31ix/updater/mcmmo/Updater.java

@@ -4,7 +4,7 @@
  * This class provides the means to safely and easily update a plugin, or check to see if it is updated using dev.bukkit.org
  */
 
-package net.h31ix.updater;
+package net.h31ix.updater.mcmmo;
 
 import javax.xml.stream.XMLEventReader;
 import javax.xml.stream.XMLInputFactory;