Skip to content

Commit dadbe56

Browse files
LocalIdentityLocalIdentity
andauthored
Fix Divine Blessing and Earthbreaker appearing in gem list (#9570)
* Fix Divine Blessing appearing in gem list The skill is no longer on a gem and only available through March of the Legion * Remove Earthbreaker from gem list too * Better fix --------- Co-authored-by: LocalIdentity <localidentity2@gmail.com>
1 parent bff6733 commit dadbe56

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Classes/GemSelectControl.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function GemSelectClass:PopulateGemList()
109109
local characterLevel = self.skillsTab.build and self.skillsTab.build.characterLevel or 1
110110

111111
for gemId, gemData in pairs(self.skillsTab.build.data.gems) do
112-
if (self.sortGemsBy and gemData.tags[self.sortGemsBy] == true or not self.sortGemsBy) then
112+
if not gemData.grantedEffect.fromItem and (self.sortGemsBy and gemData.tags[self.sortGemsBy] == true or not self.sortGemsBy) then
113113
local levelRequirement = gemData.grantedEffect.levels[1].levelRequirement or 1
114114
if characterLevel >= levelRequirement or not matchLevel then
115115
if self.imbuedSelect then

0 commit comments

Comments
 (0)