Slightly improved update checker feedback

This commit is contained in:
TfT_02 2013-08-17 20:47:42 +02:00
parent d495054eb5
commit 3fe9cfee74
2 changed files with 3 additions and 1 deletions

View File

@ -26,6 +26,7 @@ Version 1.4.07-dev
! Admin and Party chat prefixes are now customizable ! Admin and Party chat prefixes are now customizable
! Changed the color of party leader names in Party chat ! Changed the color of party leader names in Party chat
! Improved profile saving ! Improved profile saving
! Slightly improved update checker feedback
! Updated localization files ! Updated localization files
! Party item share category states are now saved when the server shuts down. ! Party item share category states are now saved when the server shuts down.
! When using Super Breaker or Giga Driller abilities extra tool durability is used (again) ! When using Super Breaker or Giga Driller abilities extra tool durability is used (again)

View File

@ -47,7 +47,8 @@ public class UpdateChecker {
oldVer = Integer.parseInt(oldTokens[i]); oldVer = Integer.parseInt(oldTokens[i]);
} }
catch (NumberFormatException e) { catch (NumberFormatException e) {
oldVer = 0; mcMMO.p.getLogger().warning("Could not get information about this mcMMO version; perhaps you are running a custom one?");
return false;
} }
if (oldVer < newVer) { if (oldVer < newVer) {