Skip to content

Commit

Permalink
Fixed bug where /mctop and /mcrank wouldn't show overall power levels
Browse files Browse the repository at this point in the history
for servers using Flatfile. Fixes #750
  • Loading branch information
gmcferrin committed Mar 1, 2013
1 parent a87336b commit ae8b70b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public static void updateLeaderboards() {
}

lastUpdate = System.currentTimeMillis(); // Log when the last update was run
powerLevels.clear(); // Clear old values from the power levels

// Initialize lists
List<PlayerStat> mining = new ArrayList<PlayerStat>();
Expand All @@ -50,7 +51,6 @@ public static void updateLeaderboards() {
List<PlayerStat> unarmed = new ArrayList<PlayerStat>();
List<PlayerStat> taming = new ArrayList<PlayerStat>();
List<PlayerStat> fishing = new ArrayList<PlayerStat>();
List<PlayerStat> powerLevels = new ArrayList<PlayerStat>();

// Read from the FlatFile database and fill our arrays with information
try {
Expand Down

0 comments on commit ae8b70b

Please sign in to comment.