mirror of
https://github.com/GTNewHorizons/Electro-Magic-Tools.git
synced 2026-11-26 14:53:19 +00:00
Update ItemOneRing.java
Removed use of Section symbol, adjusted to EnumChatFormatting.
This commit is contained in:
1 parent
9bf423b0da
commit
1f1795e635
1 file changed
+4
-2
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user