社稷大典跨期刷新

DESKTOP-98AVA47\Administrator 2020-12-15 21:38:46 +08:00
parent 92e5c50e24
commit 951e54fb0b
1 changed files with 3 additions and 0 deletions

View File

@ -101,6 +101,9 @@ class SheJiActivity extends AbstractActivity {
public void onEvent(IEvent event) throws Exception {
if (!(event instanceof CommitSheJiEvent)) return;
if(!ActivityLogic.getInstance().checkGlobleActivityOpen(id)){
return;
}
int guildId = ((CommitSheJiEvent) event).getGuild();
if (guildId == 0) {
LOGGER.error("Exception guild id=>{} not exit", guildId);