补偿优化
This commit is contained in:
parent
42e908a36a
commit
a3e70e6bf1
@ -16,7 +16,7 @@ func (p *Player) Compensation20250716() {
|
||||
}
|
||||
PlayerBaseMod := p.GetPlayerBaseMod()
|
||||
items := compensationMod.Compensation20250716(PlayerBaseMod.GetName())
|
||||
if items == nil {
|
||||
if len(items) == 0 {
|
||||
return // 没有补偿物品
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user