Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
362cfe1e
Commit
362cfe1e
authored
May 06, 2022
by
KingRainbow44
Browse files
Ensure we have a fallback for localization
parent
f39cc9e0
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/utils/Language.java
View file @
362cfe1e
...
@@ -61,7 +61,7 @@ public final class Language {
...
@@ -61,7 +61,7 @@ public final class Language {
JsonObject
object
=
this
.
languageData
;
JsonObject
object
=
this
.
languageData
;
int
index
=
0
;
int
index
=
0
;
String
result
=
"
"
;
String
result
=
"
This value does not exist. Please report this to the Discord: "
+
key
;
while
(
true
)
{
while
(
true
)
{
if
(
index
==
keys
.
length
)
break
;
if
(
index
==
keys
.
length
)
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment