fix: 修正给予称号的条件判断
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
This commit is contained in:
@@ -319,7 +319,7 @@ func (p *Player) Cheak(b error) {
|
||||
|
||||
func (p *Player) GiveTitle(id uint32) {
|
||||
r := p.Service.Title.Can(id) //已经有了就不给了
|
||||
if !r {
|
||||
if r {
|
||||
return
|
||||
}
|
||||
p.Service.Title.Give(id)
|
||||
|
||||
Reference in New Issue
Block a user