fix: 修正捕获怪物时胶囊ID的检查条件
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
xinian
2026-02-24 00:28:40 +08:00
committed by cnb
parent 68ff96ae84
commit 62b7c33d33

View File

@@ -59,7 +59,7 @@ func (h Controller) Capture(data *fight.CatchMonsterInboundInfo, c *player.Playe
return nil, err
}
if c.GetSpace().IsTime {
if data.ItemId < 300009 {
if data.CapsuleId < 300009 {
return nil, errorcode.ErrorCodes.ErrCannotPerformAction
}
}