补偿优化

This commit is contained in:
hahwu 2025-07-16 19:29:53 +08:00
parent 42e908a36a
commit a3e70e6bf1

View File

@ -16,7 +16,7 @@ func (p *Player) Compensation20250716() {
}
PlayerBaseMod := p.GetPlayerBaseMod()
items := compensationMod.Compensation20250716(PlayerBaseMod.GetName())
if items == nil {
if len(items) == 0 {
return // 没有补偿物品
}