diff --git a/Changelog.txt b/Changelog.txt index 426b2bae9..18545e179 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -9,6 +9,7 @@ Key: Version 1.4.01-dev = Fixed bug where trying to use /mctop or /xplock with the Smelting child skill caused NPEs + = Fixed bug where /mctop and /mcrank wouldn't show overall power levels for servers using Flatfile Version 1.4.00 + Added new Child Skill - Smelting! diff --git a/src/main/java/com/gmail/nossr50/database/LeaderboardManager.java b/src/main/java/com/gmail/nossr50/database/LeaderboardManager.java index 247a189e6..a23daa114 100644 --- a/src/main/java/com/gmail/nossr50/database/LeaderboardManager.java +++ b/src/main/java/com/gmail/nossr50/database/LeaderboardManager.java @@ -36,6 +36,7 @@ public final class LeaderboardManager { } lastUpdate = System.currentTimeMillis(); // Log when the last update was run + powerLevels.clear(); // Clear old values from the power levels // Initialize lists List mining = new ArrayList(); @@ -50,7 +51,6 @@ public final class LeaderboardManager { List unarmed = new ArrayList(); List taming = new ArrayList(); List fishing = new ArrayList(); - List powerLevels = new ArrayList(); // Read from the FlatFile database and fill our arrays with information try {