Get does not search for things in the inventory.
This commit is contained in:
parent
ac73b82db9
commit
df3943a996
1 changed files with 1 additions and 5 deletions
|
|
@ -234,10 +234,6 @@ class CmdGet(MuxCommand):
|
||||||
if caller == obj:
|
if caller == obj:
|
||||||
caller.msg("You can't get yourself.")
|
caller.msg("You can't get yourself.")
|
||||||
return
|
return
|
||||||
#print obj, obj.location, caller, caller==obj.location
|
|
||||||
if caller == obj.location:
|
|
||||||
caller.msg("You already hold that.")
|
|
||||||
return
|
|
||||||
if not obj.access(caller, 'get'):
|
if not obj.access(caller, 'get'):
|
||||||
if obj.db.get_err_msg:
|
if obj.db.get_err_msg:
|
||||||
caller.msg(obj.db.get_err_msg)
|
caller.msg(obj.db.get_err_msg)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue