mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Fix typo in contrib import path.
This commit is contained in:
parent
f713226559
commit
e3026c688d
2 changed files with 3 additions and 3 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
Contribution by owllex, 2021
|
||||
|
||||
Cooldowns are used modelling rate-limited actions, like how often a
|
||||
Cooldowns are used to model rate-limited actions, like how often a
|
||||
character can perform a given action; until a certain time has passed their
|
||||
command can not be used again. This contrib provides a simple cooldown
|
||||
handler that can be attached to any typeclass. A cooldown is a lightweight persistent
|
||||
|
|
@ -30,7 +30,7 @@ customize this if desired by passing a different value for the `db_attribute`
|
|||
parameter.
|
||||
|
||||
```python
|
||||
from evennia.game_systems.contrib.cooldowns import Cooldownhandler
|
||||
from evennia.contrib.game_systems.cooldowns import Cooldownhandler
|
||||
from evennia.utils.utils import lazy_property
|
||||
|
||||
@lazy_property
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ By default the CooldownHandler will use the `cooldowns` property, but you can
|
|||
customize this if desired by passing a different value for the db_attribute
|
||||
parameter.
|
||||
|
||||
from evennia.game_systems.contrib.cooldowns import Cooldownhandler
|
||||
from evennia.contrib.game_systems.cooldowns import Cooldownhandler
|
||||
from evennia.utils.utils import lazy_property
|
||||
|
||||
@lazy_property
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue