This should be put after the initial version check. Currently, if alwaysUpdate is true, this will trigger an update every time, even if local version is the same as the BukkitDev version. This statement should be right after the line below.