aboutsummaryrefslogtreecommitdiff
path: root/internal/game/act_gather.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/act_gather.go')
-rw-r--r--internal/game/act_gather.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/act_gather.go b/internal/game/act_gather.go
index 3bef8a0..df0ae49 100644
--- a/internal/game/act_gather.go
+++ b/internal/game/act_gather.go
@@ -417,7 +417,7 @@ func (g *Game) checkBirdNest(sess *net.Session, p *player.Player, cfg *behavior.
}
freeSlot := -1
- for i := 0; i < 28; i++ {
+ for i := 0; i < player.MaxInventorySlots; i++ {
if i == currentDropSlot {
continue
}