fix
This commit is contained in:
parent
1ecbd52b95
commit
4300638b90
4
obj.go
4
obj.go
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user