Skip to content
This repository has been archived by the owner on Sep 3, 2023. It is now read-only.

Commit

Permalink
Update to Alpha 5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
creatorfromhell authored and creatorfromhell committed Mar 29, 2017
1 parent 63e4619 commit 44062f9
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion config.yml
@@ -1,4 +1,4 @@
# The New Economy v0.0.5.3
# The New Economy v0.0.5.4
# Author: creatorfromhell
# License: AGPLv3
# If you would like to contribute to the plugin
Expand Down
2 changes: 1 addition & 1 deletion materials.yml
@@ -1,4 +1,4 @@
# The New Economy v0.0.5.3
# The New Economy v0.0.5.4
# Author: creatorfromhell
# License: AGPLv3
# If you would like to contribute to the plugin
Expand Down
2 changes: 1 addition & 1 deletion messages.yml
@@ -1,4 +1,4 @@
# The New Economy v0.0.5.3
# The New Economy v0.0.5.4
# Author: creatorfromhell
# License: AGPLv3
# If you would like to contribute to the plugin
Expand Down
4 changes: 2 additions & 2 deletions mobs.yml
@@ -1,4 +1,4 @@
# The New Economy v0.0.5.3
# The New Economy v0.0.5.4
# Author: creatorfromhell
# License: AGPLv3
# If you would like to contribute to the plugin
Expand All @@ -9,7 +9,7 @@
Mobs:

#Whether or not mobs drop money on death.
# The New Economy v0.0.5.3
# The New Economy v0.0.5.4
# Author: creatorfromhell
# License: AGPLv3
# If you would like to contribute to the plugin
Expand Down
2 changes: 1 addition & 1 deletion objects.yml
@@ -1,4 +1,4 @@
# The New Economy v0.0.5.3
# The New Economy v0.0.5.4
# Author: creatorfromhell
# License: AGPLv3
# If you would like to contribute to the plugin
Expand Down
2 changes: 1 addition & 1 deletion players.yml
@@ -1,4 +1,4 @@
# The New Economy v0.0.5.3
# The New Economy v0.0.5.4
# Author: creatorfromhell
# License: AGPLv3
# If you would like to contribute to the plugin
Expand Down
3 changes: 2 additions & 1 deletion src/com/github/tnerevival/core/SaveManager.java
Expand Up @@ -23,10 +23,11 @@ public class SaveManager {
versions.put(5.1, new Alpha5_0());
versions.put(5.2, new Alpha5_2());
versions.put(5.3, new Alpha5_2());
versions.put(5.4, new Alpha5_2());
}

public Version versionInstance;
Double currentSaveVersion = 5.3;
Double currentSaveVersion = 5.4;
Double saveVersion = 0.0;
public boolean updating = false;
public boolean cache = TNE.configurations.getBoolean("Core.Database.Transactions.Cache");
Expand Down
4 changes: 2 additions & 2 deletions src/com/github/tnerevival/core/version/impl/Alpha5_2.java
Expand Up @@ -63,12 +63,12 @@
public class Alpha5_2 extends Version {
@Override
public double versionNumber() {
return 5.3;
return 5.4;
}

@Override
public void update(double version, String type) {
if(version < 4.0 || version == 5.2) return;
if(version < 4.0 || version == 5.2 || version == 5.3) return;
if(type.equalsIgnoreCase("mysql") || type.equalsIgnoreCase("h2")) {
//New Tables
String table = prefix + "_BALANCES";
Expand Down
2 changes: 1 addition & 1 deletion worlds.yml
@@ -1,4 +1,4 @@
# The New Economy v0.0.5.3
# The New Economy v0.0.5.4
# Author: creatorfromhell
# License: AGPLv3
# If you would like to contribute to the plugin
Expand Down

0 comments on commit 44062f9

Please sign in to comment.