mirror of
https://github.com/evennia/evennia.git
synced 2026-03-25 09:16:32 +01:00
Fix typos.
This commit is contained in:
parent
7a7416b084
commit
ff159e3942
8 changed files with 10 additions and 10 deletions
|
|
@ -523,7 +523,7 @@ class EvAdventureCharacter(LivingMixin, DefaultCharacter):
|
|||
self.equipment.add(moved_object)
|
||||
```
|
||||
|
||||
At this means that the equipmenthandler will check the NPC, and since it's not a equippable thing, an `EquipmentError` will be raised, failing the creation. Since we want to be able to create npcs etc easily, we will handle this error with a `try...except` statement like so:
|
||||
This means that the equipmenthandler will check the NPC, and since it's not a equippable thing, an `EquipmentError` will be raised, failing the creation. Since we want to be able to create npcs etc easily, we will handle this error with a `try...except` statement like so:
|
||||
|
||||
```python
|
||||
# mygame/evadventure/characters.py
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue