diff options
Diffstat (limited to 'internal/game/act_gather.go')
| -rw-r--r-- | internal/game/act_gather.go | 2 |
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)) } |
