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

22
obj.go
View File

@ -69,17 +69,17 @@ 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`)
_, _ = addObjCastle(`🌑`, `Moonlight`) _, _ = addObjCastle(`🌑`, `Moonlight`)
_, _ = addObjCastle(`🥔`, `Potato`) _, _ = addObjCastle(`🥔`, `Potato`)
_, _ = addObjCastle(`🦈`, `Sharkteeth`) _, _ = addObjCastle(`🦈`, `Sharkteeth`)
_, _ = 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()