fix: 修正给予称号的条件判断
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
xinian
2026-02-26 16:58:25 +08:00
committed by cnb
parent 7ceb2fb3d6
commit 1e71ebbd44

View File

@@ -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)