diff --git a/src/Config.h b/src/Config.h index d30c9b145..4dbe929da 100644 --- a/src/Config.h +++ b/src/Config.h @@ -27,7 +27,7 @@ #endif #ifndef BUILD_NUM -#define BUILD_NUM 248 +#define BUILD_NUM 249 #endif #ifndef SNAPSHOT_ID @@ -42,6 +42,8 @@ #endif //VersionInfoEnd +//#define IGNORE_UPDATES //uncomment this for mods, to not get any update notifications + #if defined(SNAPSHOT) #define IDENT_RELTYPE "S" #elif defined(BETA) diff --git a/src/client/Client.cpp b/src/client/Client.cpp index bde66d229..67a018bbb 100644 --- a/src/client/Client.cpp +++ b/src/client/Client.cpp @@ -626,10 +626,12 @@ void Client::Tick() } #endif +#ifndef IGNORE_UPDATES if(updateAvailable) { notifyUpdateAvailable(); } +#endif } catch (json::Exception &e) {