Accounted for ATG in the "Use Biomes O' Plenty world type" nag message. Localization peeps, you have a new phrase to localize :P
This commit is contained in:
parent
44d0c296c6
commit
f35904ce2a
3 changed files with 7 additions and 2 deletions
|
@ -32,7 +32,11 @@ public class TickHandlerClient implements ITickHandler
|
||||||
{
|
{
|
||||||
ChatMessageComponent updateMessage = new ChatMessageComponent();
|
ChatMessageComponent updateMessage = new ChatMessageComponent();
|
||||||
updateMessage.setColor(EnumChatFormatting.RED);
|
updateMessage.setColor(EnumChatFormatting.RED);
|
||||||
|
|
||||||
updateMessage.addKey("phrase.bop.useBOPWorldtype");
|
updateMessage.addKey("phrase.bop.useBOPWorldtype");
|
||||||
|
if (Loader.isModLoaded("ATG")) updateMessage.addKey("phrase.bop.useBOPATGWorldtype");
|
||||||
|
else updateMessage.addKey("phrase.bop.useBOPWorldtype");
|
||||||
|
|
||||||
player.sendChatToPlayer(updateMessage);
|
player.sendChatToPlayer(updateMessage);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,7 @@ public class Version implements Runnable {
|
||||||
if (terrainType == null || property.getBoolean(false) == true)
|
if (terrainType == null || property.getBoolean(false) == true)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (terrainType.getWorldTypeName().equals(bopType.getWorldTypeName()))
|
if (terrainType.getWorldTypeName().equals(bopType.getWorldTypeName()) || terrainType.getWorldTypeName().equals("ATG"))
|
||||||
{
|
{
|
||||||
property.set(true);
|
property.set(true);
|
||||||
|
|
||||||
|
|
|
@ -380,6 +380,7 @@ fluid.bop.springWater=Spring Water
|
||||||
phrase.bop.promisedPortalOverworld=A gateway to the Promised Land has appeared in the sky above.
|
phrase.bop.promisedPortalOverworld=A gateway to the Promised Land has appeared in the sky above.
|
||||||
phrase.bop.promisedPortalOther=A gateway to the Overworld has appeared in the sky above.
|
phrase.bop.promisedPortalOther=A gateway to the Overworld has appeared in the sky above.
|
||||||
|
|
||||||
|
phrase.bop.useBOPATGWorldtype=The Biomes O Plenty world type or ATG world type must be used in order for the new biomes to generate. This message will only display once.
|
||||||
phrase.bop.useBOPWorldtype=The Biomes O Plenty world type must be used in order for the new biomes to generate. This message will only display once.
|
phrase.bop.useBOPWorldtype=The Biomes O Plenty world type must be used in order for the new biomes to generate. This message will only display once.
|
||||||
phrase.bop.updateAvaliable=A new version of Biomes O Plenty is available: v%s for Minecraft %s
|
phrase.bop.updateAvaliable=A new version of Biomes O Plenty is available: v%s for Minecraft %s
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue