tooltips: correct event name to modifyTooltips #35

Merged
Matt merged 1 commits from fix/tooltip-event-name into main 2026-05-23 17:37:31 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit e1a77d2e19 - Show all commits
@@ -17,7 +17,7 @@ const CRIBS = {
'numismatics:sun': [ '= 4096 Spurs (8 Crowns)', 'Bank Teller block converts.' ], 'numismatics:sun': [ '= 4096 Spurs (8 Crowns)', 'Bank Teller block converts.' ],
}; };
ItemEvents.tooltip(event => { ItemEvents.modifyTooltips(event => {
for (const id in CRIBS) { for (const id in CRIBS) {
event.add(id, CRIBS[id].map(line => Text.aqua(line))); event.add(id, CRIBS[id].map(line => Text.aqua(line)));
} }
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"$schema": "Brass-and-Sigil pack.lock.json - generated, do not edit by hand unless you know what you are doing", "$schema": "Brass-and-Sigil pack.lock.json - generated, do not edit by hand unless you know what you are doing",
"name": "Brass and Sigil", "name": "Brass and Sigil",
"version": "0.22.1", "version": "0.22.2",
"minecraft": "1.21.1", "minecraft": "1.21.1",
"loader": { "loader": {
"type": "neoforge", "type": "neoforge",