Merge pull request 'tooltips: correct event name to modifyTooltips' (#35) from fix/tooltip-event-name into main
This commit was merged in pull request #35.
This commit is contained in:
@@ -17,7 +17,7 @@ const CRIBS = {
|
||||
'numismatics:sun': [ '= 4096 Spurs (8 Crowns)', 'Bank Teller block converts.' ],
|
||||
};
|
||||
|
||||
ItemEvents.tooltip(event => {
|
||||
ItemEvents.modifyTooltips(event => {
|
||||
for (const id in CRIBS) {
|
||||
event.add(id, CRIBS[id].map(line => Text.aqua(line)));
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "Brass-and-Sigil pack.lock.json - generated, do not edit by hand unless you know what you are doing",
|
||||
"name": "Brass and Sigil",
|
||||
"version": "0.22.1",
|
||||
"version": "0.22.2",
|
||||
"minecraft": "1.21.1",
|
||||
"loader": {
|
||||
"type": "neoforge",
|
||||
|
||||
Reference in New Issue
Block a user