Fix Seven Cherubs quest slot affected by Update Converter bug
Closes: https://github.com/arianne/stendhal/issues/695
This commit is contained in:
parent
37448f470c
commit
454e100aea
2 changed files with 10 additions and 0 deletions
|
|
@ -10,6 +10,9 @@ Changelog
|
|||
*web client*
|
||||
- fixed text extending past edge of notification bubbles
|
||||
|
||||
*server fixes*
|
||||
- fixed Seven Cherubs not showing up as completed
|
||||
|
||||
|
||||
1.46
|
||||
|
||||
|
|
|
|||
|
|
@ -655,6 +655,13 @@ public abstract class UpdateConverter {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 1.47: an issue in update converter caused leading ";" to be trimmed
|
||||
questSlot = "seven_cherubs";
|
||||
String slotState = player.getQuest(questSlot);
|
||||
if (player.hasQuest(questSlot) && !slotState.startsWith(";")) {
|
||||
player.setQuest(questSlot, ";" + slotState);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue