This commit is contained in:
shoopea 2020-04-18 21:57:32 +08:00
parent 1ecbd52b95
commit 4300638b90

4
obj.go
View File

@ -69,7 +69,7 @@ func initCache(initDB bool) {
err = loadObjJob() err = loadObjJob()
logOnError(err, "initCache : caching jobs") logOnError(err, "initCache : caching jobs")
if initDB { //if initDB {
_, _ = addObjCastle(`🦌`, `Deerhorn`) _, _ = addObjCastle(`🦌`, `Deerhorn`)
_, _ = addObjCastle(`🐉`, `Dragonscale`) _, _ = addObjCastle(`🐉`, `Dragonscale`)
_, _ = addObjCastle(`🦅`, `Highnest`) _, _ = addObjCastle(`🦅`, `Highnest`)
@ -79,7 +79,7 @@ func initCache(initDB bool) {
_, _ = addObjCastle(`🐺`, `Wolfpack`) _, _ = addObjCastle(`🐺`, `Wolfpack`)
_, _ = addObjCastle(``, `Unknown`) _, _ = addObjCastle(``, `Unknown`)
_, _ = addObjGuild(``, `No Guild`) _, _ = addObjGuild(``, `No Guild`)
} //}
log.Println("Caching castles ..") log.Println("Caching castles ..")
err = loadObjCastle() err = loadObjCastle()