Skip to content

Commit

Permalink
Add missing &
Browse files Browse the repository at this point in the history
  • Loading branch information
gravitylow committed Oct 10, 2013
1 parent 126e99f commit 4f5167d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/gravitydevelopment/updater/Updater.java
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ private void saveFile(File folder, String file, String u) {
downloaded += count;
fout.write(data, 0, count);
final int percent = (int) ((downloaded * 100) / fileLength);
if (this.announce & ((percent % 10) == 0)) {
if (this.announce && ((percent % 10) == 0)) {
this.plugin.getLogger().info("Downloading update: " + percent + "% of " + fileLength + " bytes.");
}
}
Expand Down

0 comments on commit 4f5167d

Please sign in to comment.