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