mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 12:07:17 +02:00
Fixes a few more command errors in commands without args. Create from the login screen now works without errors again.
This commit is contained in:
parent
59e5f60e34
commit
51a648ddab
2 changed files with 7 additions and 5 deletions
|
|
@ -748,8 +748,9 @@ class Object(models.Model):
|
|||
self.get_location().emit_to_contents(arrival_message, exclude=self)
|
||||
if self.location.is_player():
|
||||
self.location.emit_to("%s is now in your inventory." % (self.get_name()))
|
||||
|
||||
if force_look and self.is_player():
|
||||
|
||||
session = self.get_session()
|
||||
if force_look and self.is_player() and session:
|
||||
self.get_session().execute_cmd('look')
|
||||
|
||||
def dbref_match(self, oname):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue