Skip to content

Commit

Permalink
Fix wrong color tooltip on cheese (#5276)
Browse files Browse the repository at this point in the history
(cherry picked from commit 800a973)
  • Loading branch information
KnightMiner committed Jan 8, 2025
1 parent 1d64897 commit c3038da
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package slimeknights.tconstruct.shared.item;

import net.minecraft.ChatFormatting;
import net.minecraft.network.chat.Component;
import net.minecraft.world.effect.MobEffect;
import net.minecraft.world.effect.MobEffectInstance;
Expand All @@ -16,7 +17,7 @@
import java.util.List;

public class CheeseItem extends Item {
public static final Component TOOLTIP = TConstruct.makeTranslation("item", "cheese.tooltip");
public static final Component TOOLTIP = TConstruct.makeTranslation("item", "cheese.tooltip").withStyle(ChatFormatting.GRAY);
public CheeseItem(Properties pProperties) {
super(pProperties);
}
Expand Down

0 comments on commit c3038da

Please sign in to comment.