aboutsummaryrefslogtreecommitdiff
path: root/internal/game/act_gather.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-09-18 17:48:26 -0400
committerhistoria <[not public]>2026-09-18 17:48:26 -0400
commit8fe9e3c3fef0049df82281a62afe35dda516dfe2 (patch)
treedd269f2c0710f334e19f00a191260ebc46284a90 /internal/game/act_gather.go
parent194164a77eb4f2479b94c19e6f0e1278ab608781 (diff)
downloadthehouseoficarus-8fe9e3c3fef0049df82281a62afe35dda516dfe2.tar.gz
fix: close combat ghost, admin traversal, login throttle, journal double-pay, and quality/economy gaps
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 08ffbb1..3bef8a0 100644
--- a/internal/game/act_gather.go
+++ b/internal/game/act_gather.go
@@ -432,7 +432,7 @@ func (g *Game) checkBirdNest(sess *net.Session, p *player.Player, cfg *behavior.
return
}
- p.SetInvSlot(freeSlot, &player.InventorySlot{ItemID: birdsNestItemID, Quantity: 1})
+ p.SetInvSlot(freeSlot, g.newInventorySlot(birdsNestItemID, 1))
g.saveCharacter(p)
sess.WriteLine(fmt.Sprintf("A %s falls out of the tree!", nestName))
}