forked from Dniel97/artemis
Merge branch 'develop' of https://gitea.tendokyu.moe/Hay1tsme/artemis into develop
This commit is contained in:
commit
dc02d60690
@ -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