Roughly Enough Items Fabric/Forge/NeoForge (REI)

Roughly Enough Items Fabric/Forge/NeoForge (REI)

38M Downloads

[Bug] Duplicate tooltips

Hanwei233 opened this issue ยท 1 comments

commented

What happened?

I use kubejs to add a new tooltip to an item, and every time I restart the game, the tooltip is added repeatedly

What mod loaders are you seeing the problem on?

Forge

What do you think this bug is of?

  • Visual
  • Recipe Lookup
  • Cheat Mode
  • Plugin Integration / JEI Plugin Compatibility
  • Others

Relevant log output

NO LOGS

Anything else?

2024-06-19_03 30 50

By submitting this issue, I have included the necessary logs by pasting the contents into the correct location or attaching the file as an upload.

  • Yes, and I did not use any paste services other than GitHub Gists.

By submitting this issue, I have confirmed my REI and REI's dependencies are up to date.

  • Yes
commented

I'm also seeing this in 1.20.1. I don't know which side is at fault. I got around it by switching to advanced tooltip methods and specifying lines.
tooltip.addAdvanced('reinforced_deepslate', (item, advanced, text) => { text.add(1, 'Witherproof') text.add(2, 'Mineable with a Netherite level pickaxe.') })