mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-22 02:25:42 +01:00
Correct string replacement, part 3. Fixes #1904
This commit is contained in:
parent
2bfbc68cfa
commit
945e06c33f
@ -212,10 +212,10 @@ public class Lang {
|
||||
if (entry.getValue().contains("<done>")) {
|
||||
allStrings.put(entry.getKey(), entry.getValue().replace("<done>", strDone));
|
||||
}
|
||||
if (entry.getValue().contains("<space>")) {
|
||||
if (strSpace != null && entry.getValue().contains("<space>")) {
|
||||
allStrings.put(entry.getKey(), entry.getValue().replace("<space>", strSpace));
|
||||
}
|
||||
if (entry.getValue().contains("<semicolon>")) {
|
||||
if (strSemicolon != null && entry.getValue().contains("<semicolon>")) {
|
||||
allStrings.put(entry.getKey(), entry.getValue().replace("<semicolon>", strSemicolon));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user