Fixes a bug causing all quest markers to be deleted
This commit is contained in:
parent
935a6ce662
commit
df72d37b74
@ -68,11 +68,11 @@ public class QuestsHandler extends AbstractTraitHandler {
|
||||
boolean questsChanged = loadedQuests == null || !loadedQuests.equals(questsAPI.getLoadedQuests());
|
||||
loadedQuests = questsAPI.getLoadedQuests();
|
||||
|
||||
//Updates all quest area markers
|
||||
if (questsChanged) {
|
||||
//Remove old quest markers
|
||||
questMarkerSet.getMarkers().forEach(GenericMarker::deleteMarker);
|
||||
|
||||
//Updates all quest area markers
|
||||
if (questsChanged) {
|
||||
//Update all area markers for quests
|
||||
updateQuestAreas();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user