fixed error message about non existing !features slot on newly created accoutns
This commit is contained in:
parent
80546f82be
commit
cd6c2bdd57
1 changed files with 4 additions and 2 deletions
|
|
@ -279,8 +279,10 @@ public abstract class UpdateConverter {
|
|||
}
|
||||
|
||||
//port to 0.86: port keymap to feature map, karama_indicator as feature
|
||||
if (KeyedSlotUtil.getKeyedSlot(object, "!features", "keyring") != null) {
|
||||
object.put("features", "keyring", "");
|
||||
if (object.hasSlot("!features")) {
|
||||
if (KeyedSlotUtil.getKeyedSlot(object, "!features", "keyring") != null) {
|
||||
object.put("features", "keyring", "");
|
||||
}
|
||||
}
|
||||
if (KeyedSlotUtil.getKeyedSlot(object, "!quests", "learn_karma") != null) {
|
||||
object.put("features", "karma_indicator", "");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue