Skip to content

Commit 513dd79

Browse files
committed
Fix of "cannot-use-message"
1 parent 5a449b7 commit 513dd79

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/fantasy_forge/entity.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def on_use(self: Self, actor: Player, other: Entity | None = None):
3030
self.messages.to(
3131
[actor],
3232
"cannot-use-message",
33-
self=self.name,
33+
this=self.name,
3434
other=getattr(other, "name", None),
3535
)
3636

‎src/fantasy_forge/l10n/en/main.ftl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ cannot-attack = Cannot attack { INTER($target) }.
4242
cannot-use-message = You can't use { EXISTS($other) ->
4343
[true] { INTER($other) } with{ " " }
4444
*[false] { "" }
45-
}{ INTER($self) }.
45+
}{ INTER($this) }.
4646
armour-detail = {$type}: {EXISTS($item) ->
4747
[true] {$item_name} ({NUM($item_defense)} defense)
4848
*[false] Nothing

0 commit comments

Comments
 (0)