-- Safety check for map frame local orig_QuestieMap_OnShow if QuestieMap and QuestieMap.OnShow then orig_QuestieMap_OnShow = QuestieMap.OnShow QuestieMap.OnShow = function(self, ...) if not Questie or not Questie.db then return end return orig_QuestieMap_OnShow(self, ...) end end