Skip to content

Commit

Permalink
- Fix flipped save/load types.
Browse files Browse the repository at this point in the history
  • Loading branch information
LlmDl committed Oct 24, 2020
1 parent 96985da commit 5883085
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion resources/ChangeLog.txt
Expand Up @@ -5127,4 +5127,5 @@ v0.92.0.11:
- Fix missing check to be sure that town banks are capped.
- Metadata Improvements, courtesy of Silverwolfg11 with PR #4386.
- Adds a new metadata field to store longs by introducing the LongDataField.
- Makes the CustomDataField class truly abstract relying less on switch statements and makes it much easier to add new metadata types in the future, potentially paving the way for even allowing developers to add their own metadata types in the future.
- Makes the CustomDataField class truly abstract relying less on switch statements and makes it much easier to add new metadata types in the future, potentially paving the way for even allowing developers to add their own metadata types in the future.
- Fix flipped save/load types.
2 changes: 1 addition & 1 deletion src/com/palmergames/bukkit/towny/TownyUniverse.java
Expand Up @@ -107,7 +107,7 @@ boolean loadSettings() {
clearAllObjects();

// Try to load and save the database.
if (!loadAndSaveDatabase(TownySettings.getSaveDatabase(), TownySettings.getLoadDatabase()))
if (!loadAndSaveDatabase(TownySettings.getLoadDatabase(), TownySettings.getSaveDatabase()))
return false;

// Try migrating the config and world files if the version has changed.
Expand Down

0 comments on commit 5883085

Please sign in to comment.