Skip to content

Commit 7cfc4ca

Browse files
committed
🛠️ Actually fix #215
1 parent c829397 commit 7cfc4ca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/mods/formatIconMod.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ createBlockbenchMod(
1616
document
1717
.querySelector('[format=animated_java_blueprint] span i')
1818
?.parentElement?.remove()
19+
const duplicates = [...document.querySelectorAll('#animated_java\\:icon')]
20+
if (duplicates.length > 1) {
21+
duplicates.slice(1).forEach(d => d.remove())
22+
}
1923
},
2024
})
2125
},

0 commit comments

Comments
 (0)