From df852198944675355abd11ec902efb58da37bd86 Mon Sep 17 00:00:00 2001 From: Vincent Deloso Date: Sun, 27 Apr 2014 14:37:47 -0400 Subject: [PATCH] Switch to 2.0.0 version due to breaking API changes. --- pom.xml | 2 +- src/org/black_ixx/playerpoints/update/UpdateManager.java | 4 ++-- .../modules/{OneEightUpdate.java => TwoZeroZeroUpdate.java} | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) rename src/org/black_ixx/playerpoints/update/modules/{OneEightUpdate.java => TwoZeroZeroUpdate.java} (89%) diff --git a/pom.xml b/pom.xml index a1c72d4..ac1a44d 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ org.black_ixx PlayerPoints - 1.8.1-SNAPSHOT + 2.0.0 PlayerPoints Player points system for Bukkit diff --git a/src/org/black_ixx/playerpoints/update/UpdateManager.java b/src/org/black_ixx/playerpoints/update/UpdateManager.java index df047d3..d54b895 100644 --- a/src/org/black_ixx/playerpoints/update/UpdateManager.java +++ b/src/org/black_ixx/playerpoints/update/UpdateManager.java @@ -5,7 +5,7 @@ import org.black_ixx.playerpoints.PlayerPoints; import org.black_ixx.playerpoints.services.version.Version; -import org.black_ixx.playerpoints.update.modules.OneEightUpdate; +import org.black_ixx.playerpoints.update.modules.TwoZeroZeroUpdate; import org.black_ixx.playerpoints.update.modules.OneFiveTwoUpdate; import org.black_ixx.playerpoints.update.modules.OneFiveUpdate; import org.bukkit.configuration.ConfigurationSection; @@ -33,7 +33,7 @@ public UpdateManager(final PlayerPoints plugin) { modules.add(new OneFiveUpdate(plugin)); modules.add(new OneFiveTwoUpdate(plugin)); - modules.add(new OneEightUpdate(plugin)); + modules.add(new TwoZeroZeroUpdate(plugin)); } /** diff --git a/src/org/black_ixx/playerpoints/update/modules/OneEightUpdate.java b/src/org/black_ixx/playerpoints/update/modules/TwoZeroZeroUpdate.java similarity index 89% rename from src/org/black_ixx/playerpoints/update/modules/OneEightUpdate.java rename to src/org/black_ixx/playerpoints/update/modules/TwoZeroZeroUpdate.java index 819a13b..b0e244f 100644 --- a/src/org/black_ixx/playerpoints/update/modules/OneEightUpdate.java +++ b/src/org/black_ixx/playerpoints/update/modules/TwoZeroZeroUpdate.java @@ -10,13 +10,13 @@ import org.black_ixx.playerpoints.storage.StorageHandler; import org.black_ixx.playerpoints.update.UpdateModule; -public class OneEightUpdate extends UpdateModule { +public class TwoZeroZeroUpdate extends UpdateModule { private Map cache = new HashMap(); - public OneEightUpdate(PlayerPoints plugin) { + public TwoZeroZeroUpdate(PlayerPoints plugin) { super(plugin); - targetVersion = new Version("1.8"); + targetVersion = new Version("2.0.0"); targetVersion.setIgnorePatch(true); }