gravitylow / Updater

Easy automatic updates for Bukkit
MIT License
35 stars 41 forks source link

Add missing '&' in announce logic #8

Closed regaw-leinad closed 10 years ago

regaw-leinad commented 11 years ago

The short circuit and is better in this case so you don't need to evaluate both expressions. If announce == false, it no longer needs to check if percent % 10 == 0.

gravitylow commented 10 years ago

Fixed, thanks.