mirror of
https://github.com/evennia/evennia.git
synced 2026-04-02 05:57:16 +02:00
cmdgive didn't use move_to which meant that hooks were not called. Fixed.
This commit is contained in:
parent
a075e07e55
commit
b9f4c6de3a
1 changed files with 1 additions and 1 deletions
|
|
@ -327,7 +327,7 @@ class CmdGive(MuxCommand):
|
|||
caller.msg("You are not holding %s." % to_give.key)
|
||||
return
|
||||
# give object
|
||||
to_give.location = target
|
||||
to_give.move_to(target, quiet=True)
|
||||
caller.msg("You give %s to %s." % (to_give.key, target.key))
|
||||
target.msg("%s gives you %s." % (caller.key, to_give.key))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue