Update Beginner-Tutorial-Adding-Commands.md

Resolves #3448
This commit is contained in:
homeofpoe 2024-03-21 09:12:16 -07:00 committed by GitHub
parent a1e5b356a9
commit 21b164f699
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -238,7 +238,7 @@ Tweak this file as follows:
```python ```python
# in mygame/commands/default_cmdsets.py # in mygame/commands/default_cmdsets.py
# ,.. # ...
from . import mycommands # <------- from . import mycommands # <-------
@ -299,9 +299,6 @@ Still in `mygame/commands/mycommands.py`, add a new class, between `CmdEcho` and
```{code-block} python ```{code-block} python
# in mygame/commands/mycommands.py # in mygame/commands/mycommands.py
:linenos:
:emphasize-lines: 3,4,11,14,15,17,18,19,21
# ... # ...
class CmdHit(Command): class CmdHit(Command):