@@ -15,7 +15,7 @@ def landmark_embed(lm:, user: nil, section: nil, event: nil)
end
r = Region.find(lm.region)
- plm = Landmark.find(lm.location)
+ plm = Landmark.find(lm.location) if lm.location
npcs = []
npc_list = LandmarkNpcs.where(landmark_id: lm.id)
npc_list.each do |lmnpc|