非空验证

back_recharge
duhui 2021-03-01 11:50:02 +08:00
parent 0c84c3f839
commit 11fb77045f
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ public class HandlerLogicThread extends Thread{
}
public static boolean checkOpen(User user, SGlobalSystemConfig sGlobalSystemConfig) {
if(!GlobalDataManaager.getInstance().checkIsOpen(sGlobalSystemConfig.getId())){
if(sGlobalSystemConfig == null || !GlobalDataManaager.getInstance().checkIsOpen(sGlobalSystemConfig.getId())){
return false;
}
int level = user.getPlayerInfoManager().getLevel();