mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-21 18:15:32 +01:00
Workaround invalid custom objective string
This commit is contained in:
parent
10fc926395
commit
07c1ae8610
@ -1645,7 +1645,7 @@ public class BukkitQuester implements Quester {
|
||||
for (final Entry<String, Object> e : stage.getCustomObjectiveData()) {
|
||||
if (e.getKey().equals(prompt.getKey())) {
|
||||
if (message.contains(replacement)) {
|
||||
message = message.replace(replacement, ((String) e.getValue()));
|
||||
message = message.replace(replacement, String.valueOf(e.getValue()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user