修复一些小问题

This commit is contained in:
UnKownOwO
2022-11-24 11:56:37 +08:00
parent 01bcaa0309
commit 6dd7cb3f43
3088 changed files with 26 additions and 91314 deletions

View File

@@ -3,7 +3,6 @@ package config
import (
"encoding/json"
"hk4e/logger"
"io/ioutil"
"os"
"strings"
)
@@ -24,7 +23,7 @@ type AbilityEmbryoEntry struct {
func (g *GameDataConfig) loadAbilityEmbryos() {
dirPath := g.binPrefix + "Avatar"
fileList, err := ioutil.ReadDir(dirPath)
fileList, err := os.ReadDir(dirPath)
if err != nil {
logger.LOG.Error("open dir error: %v", err)
return