Update ItemOneRing.java

Removed use of Section symbol, adjusted to EnumChatFormatting.
This commit is contained in:
Alkalus authored and GitHub committed 2020-10-20 23:39:56 +01:00
1 parent 9bf423b0da
commit 1f1795e635
1 file changed
+4 -2
+4 -2
View File
@@ -16,6 +16,7 @@ import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.potion.Potion;
import net.minecraft.potion.PotionEffect;
import net.minecraft.util.ChatComponentText;
import net.minecraft.util.EnumChatFormatting;
import net.minecraft.util.IIcon;
import thaumcraft.api.ThaumcraftApiHelper;
import thaumcraft.api.IRunicArmor;
@@ -59,8 +60,9 @@ public class ItemOneRing extends ItemBase implements IBauble, IWarpingGear, IRun
@Override
public void addInformation(ItemStack itemStack, EntityPlayer player, List list, boolean par4) {
list.add("§4The Ring whispers to you, promising power. But at what cost? Long-term usage is NOT advised.");
list.add("Can ruin your game if you don't understand what this does. READ THE QUEST");
String colourCode = ""+ EnumChatFormatting.DARK_RED;
list.add(colourCode+"The Ring whispers to you, promising power. But at what cost? Long-term usage is NOT advised.");
list.add(colourCode+"Can RUIN your game if you don't understand what this does. READ THE QUEST!!");
super.addInformation(itemStack, player, list, par4);
}