mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-16 17:05:20 +01:00
List game & server version when starting server (#1181)
* When the server starts, it now outputs the game and server version. Too dumb to not hardcode it - sorry! * ... * sorry i dropped my spaghetti, I'll help clean that * Doing simple stuff: now without hardcoding! * Restored Git hash functionality * Fixed other languages and made the output more useful. * Forgot this file lol
This commit is contained in:
@@ -102,6 +102,8 @@ public final class Grasscutter {
|
||||
|
||||
// Initialize server.
|
||||
Grasscutter.getLogger().info(translate("messages.status.starting"));
|
||||
Grasscutter.getLogger().info(translate("messages.status.game_version", GameConstants.VERSION));
|
||||
Grasscutter.getLogger().info(translate("messages.status.version", BuildConfig.VERSION, BuildConfig.GIT_HASH));
|
||||
|
||||
// Load all resources.
|
||||
Grasscutter.updateDayOfWeek();
|
||||
|
||||
Reference in New Issue
Block a user