Compare commits
3 Commits
7fc5544c15
...
ab10f27cb4
Author | SHA1 | Date | |
---|---|---|---|
ab10f27cb4 | |||
0a12e93593 | |||
bad106ceba |
@ -187,7 +187,7 @@ class ChuniBase:
|
||||
"gameMessageList": [{
|
||||
"id": 1,
|
||||
"type": 1,
|
||||
"message": f"Welcome to {self.core_cfg.server.name} network!" if not self.game_config.server.news_msg else self.game_config.server.news_msg,
|
||||
"message": f"Welcome to {self.core_cfg.server.name} network!" if not self.game_cfg.server.news_msg else self.game_cfg.server.news_msg,
|
||||
"startDate": "2017-12-05 07:00:00.0",
|
||||
"endDate": "2099-12-31 00:00:00.0"
|
||||
}]
|
||||
|
@ -22,7 +22,7 @@ class ChuniServerConfig:
|
||||
|
||||
@property
|
||||
def news_msg(self) -> str:
|
||||
CoreConfig.get_config_field(
|
||||
return CoreConfig.get_config_field(
|
||||
self.__config, "chuni", "server", "news_msg", default=""
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user