Skip to content

Commit dbdbe58

Browse files
committed
v2.1.0
1 parent 32544e9 commit dbdbe58

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

mcdreforged.plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "where_is",
3-
"version": "2.1.0-dev+build.7",
3+
"version": "2.1.0+build.8",
44
"name": "Where Is",
55
"description": {
66
"en_us": "Query players' coordinates",

where_is/dimensions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ def get_reg_key(self) -> str:
9090
return self.reg_key
9191

9292
def get_rtext(self) -> RTextBase:
93-
if config.translate_dim_with_mcdr:
93+
translation_key_mappings = config.get_translation_key_mappings()
94+
if config.translate_dim_with_mcdr or self.reg_key not in translation_key_mappings:
9495
return tr(f"dim.{self.reg_key}").set_translator(dtr).set_color(self.get_color())
9596
else:
9697
return RTextTranslation(config.get_translation_key_mappings()[self.reg_key], color=self.get_color())

0 commit comments

Comments
 (0)