unfinished draft

This commit is contained in:
wish
2024-08-21 21:04:52 +10:00
parent 7d760bd3b4
commit c8d3fc3ead
17 changed files with 484 additions and 820 deletions

View File

@@ -327,8 +327,8 @@ type Airou struct {
func getGuildAirouList(s *Session) []Airou {
var guildCats []Airou
bannedCats := make(map[uint32]int)
guild, err := GetGuildInfoByCharacterId(s, s.charID)
if err != nil {
guild := GetGuildInfoByCharacterId(s, s.charID)
if guild.ID == 0 {
return guildCats
}
rows, err := s.server.db.Query(`SELECT cats_used FROM guild_hunts gh