mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-27 13:15:55 +01:00
Fix error from boolean values in Custom Objectives
This commit is contained in:
parent
a2ba535731
commit
c79df6f734
@ -1706,7 +1706,7 @@ public class Quester {
|
|||||||
List<Entry<String, Object>> end = new LinkedList<Entry<String, Object>>(sub);
|
List<Entry<String, Object>> end = new LinkedList<Entry<String, Object>>(sub);
|
||||||
sub.clear(); // since sub is backed by end, this removes all sub-list items from end
|
sub.clear(); // since sub is backed by end, this removes all sub-list items from end
|
||||||
for (Entry<String, Object> datamap : end) {
|
for (Entry<String, Object> datamap : end) {
|
||||||
message = message.replace("%" + ((String) datamap.getKey()) + "%", (String) datamap.getValue());
|
message = message.replace("%" + (String.valueOf(datamap.getKey())) + "%", String.valueOf(datamap.getValue()));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (co.canShowCount()) {
|
if (co.canShowCount()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user