Skip to content

Commit

Permalink
Switch to 2.0.0 version due to breaking API changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitsugaru committed Apr 27, 2014
1 parent 5cbf806 commit df85219
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Project properties. -->
<groupId>org.black_ixx</groupId>
<artifactId>PlayerPoints</artifactId>
<version>1.8.1-SNAPSHOT</version>
<version>2.0.0</version>
<name>PlayerPoints</name>
<description>Player points system for Bukkit</description>
<!-- Source code management URL. -->
Expand Down
4 changes: 2 additions & 2 deletions src/org/black_ixx/playerpoints/update/UpdateManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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));
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, Integer> cache = new HashMap<String, Integer>();

public OneEightUpdate(PlayerPoints plugin) {
public TwoZeroZeroUpdate(PlayerPoints plugin) {
super(plugin);
targetVersion = new Version("1.8");
targetVersion = new Version("2.0.0");
targetVersion.setIgnorePatch(true);
}

Expand Down

0 comments on commit df85219

Please sign in to comment.