File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"id" : " where_is" ,
3
- "version" : " 2.1.0-dev +build.7 " ,
3
+ "version" : " 2.1.0+build.8 " ,
4
4
"name" : " Where Is" ,
5
5
"description" : {
6
6
"en_us" : " Query players' coordinates" ,
Original file line number Diff line number Diff line change @@ -90,7 +90,8 @@ def get_reg_key(self) -> str:
90
90
return self .reg_key
91
91
92
92
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 :
94
95
return tr (f"dim.{ self .reg_key } " ).set_translator (dtr ).set_color (self .get_color ())
95
96
else :
96
97
return RTextTranslation (config .get_translation_key_mappings ()[self .reg_key ], color = self .get_color ())
You can’t perform that action at this time.
0 commit comments