Skip to content

Commit

Permalink
Fix error when speaking to creatures
Browse files Browse the repository at this point in the history
  • Loading branch information
jhaakma committed May 11, 2022
1 parent ec8611b commit 8ec6bc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Data Files/MWSE/mods/mer/bardicInspiration/common.lua
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function this.isInnkeeper(ref)
end

function this.isBard(ref)
local id = ref.baseObject.class.id:lower()
local id = ref.baseObject.class and ref.baseObject.class.id:lower()
if this.staticData.bardClasses[id] then
return true
end
Expand Down

0 comments on commit 8ec6bc7

Please sign in to comment.