Tweaked biome radar text

This commit is contained in:
Matt Caughey 2014-01-29 07:58:13 -05:00
parent 9ae50323ae
commit 197d97e217

View file

@ -185,14 +185,14 @@ public class ItemBiomeFinder extends Item
if (biome != null)
{
infoList.add(biome.biomeName);
infoList.add("" + EnumChatFormatting.BOLD + "Target: " + EnumChatFormatting.RESET + biome.biomeName);
if (itemStack.getTagCompound().hasKey("foundBiome"))
{
boolean foundBiome = itemStack.getTagCompound().getBoolean("foundBiome");
if (foundBiome) infoList.add(EnumChatFormatting.DARK_GREEN + "Found biome!");
else infoList.add(EnumChatFormatting.DARK_GRAY + "Right click to find biome");
if (foundBiome) infoList.add("" + EnumChatFormatting.DARK_GREEN + EnumChatFormatting.ITALIC + "Found biome!");
else infoList.add("" + EnumChatFormatting.DARK_GRAY + EnumChatFormatting.ITALIC + "Right click to scan for biome");
}
}
}