terrarium-earth / Tempad

Bringing the Loki time door to Minecraft 1.18+
Other
25 stars 12 forks source link

[Bug]: Adding enchantments to the tempad removes colour #111

Closed ShadowFox88 closed 3 months ago

ShadowFox88 commented 5 months ago

Bug Description

Adding an enchantment to the He Who Remains Tempad removes the orange colour, as the colour code symbol is wiped. The name becomes 6Tempad in italics, rather than staying the same.

How to Reproduce?

  1. Get a He Who Remains Tempad
  2. Find an enchant that's applicable to it (I'm using soulbound from the You're In Grave Danger mod)
  3. Add the enchant in an anvil
  4. Observe the changed name.

Expected Behavior

A normal coloured item with enchants should have the name stay the same as shown (I'm using the Gravichestplate from Modern Industrialisation) image The tempad does not have the same property image

Version

2.33

Mod Loader Version

1.20.1 - 0.15.10

Mod Loader

Fabric

Logs or additional context

I think this is caused by the fact that the name for the Tempad is "§6Tempad", rather than being set to orange through some other method, but I don't know enough about how to fix such an issue.

Code of Conduct

CodexAdrian commented 5 months ago

Oh interesting, never thought about soulbound. As a stopgap until i fix it, you can fix the lang for the name as it has the color code included in it. You can change the lang with a resource pack

DeltaAxis-9 commented 5 months ago

i am also currently have this issue while playing the "ATM9" pack and I cannot change the color back. Would be W id the devs could fix

CodexAdrian commented 3 months ago

Fixed in 1.21