aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/GT_Proxy.java
diff options
context:
space:
mode:
authorTechlone <techlone.mc@gmail.com>2017-06-13 17:44:13 +0500
committerTechlone <techlone.mc@gmail.com>2017-06-13 17:44:13 +0500
commitbfd3ff4b19f79efd7f68aec22998c70e09d024f8 (patch)
treed2c18ed50733042779a8585cb20b4e78453f3816 /src/main/java/gregtech/common/GT_Proxy.java
parent3fa72fd1f110f11f2825e27a81f586f807b82bc4 (diff)
parentd7debfd34ece3435dc0f47c54635946c8f29d6f9 (diff)
downloadGT5-Unofficial-bfd3ff4b19f79efd7f68aec22998c70e09d024f8.tar.gz
GT5-Unofficial-bfd3ff4b19f79efd7f68aec22998c70e09d024f8.tar.bz2
GT5-Unofficial-bfd3ff4b19f79efd7f68aec22998c70e09d024f8.zip
Merge branch 'unstable' of https://github.com/Techlone/GT5-Unofficial into unstable
Diffstat (limited to 'src/main/java/gregtech/common/GT_Proxy.java')
-rw-r--r--src/main/java/gregtech/common/GT_Proxy.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/gregtech/common/GT_Proxy.java b/src/main/java/gregtech/common/GT_Proxy.java
index b79e6691d3..d9f94d0b12 100644
--- a/src/main/java/gregtech/common/GT_Proxy.java
+++ b/src/main/java/gregtech/common/GT_Proxy.java
@@ -502,6 +502,7 @@ public abstract class GT_Proxy implements IGT_Mod, IGuiHandler, IFuelHandler {
break;
}
}
+ GT_LanguageManager.writePlaceholderStrings();
}
public static long tBits = GT_ModHandler.RecipeBits.DO_NOT_CHECK_FOR_COLLISIONS | GT_ModHandler.RecipeBits.BUFFERED | GT_ModHandler.RecipeBits.ONLY_ADD_IF_RESULT_IS_NOT_NULL | GT_ModHandler.RecipeBits.NOT_REMOVABLE;
@@ -1267,7 +1268,7 @@ public abstract class GT_Proxy implements IGT_Mod, IGuiHandler, IFuelHandler {
aEvent.player.setGameType(GameType.ADVENTURE);
aEvent.player.capabilities.allowEdit = false;
if (this.mAxeWhenAdventure) {
- GT_Utility.sendChatToPlayer(aEvent.player, "It's dangerous to go alone! Take this.");
+ GT_Utility.sendChatToPlayer(aEvent.player, GT_LanguageManager.addStringLocalization("Interaction_DESCRIPTION_Index_097", "It's dangerous to go alone! Take this.", false));
aEvent.player.worldObj.spawnEntityInWorld(new EntityItem(aEvent.player.worldObj, aEvent.player.posX, aEvent.player.posY,
aEvent.player.posZ, GT_MetaGenerated_Tool_01.INSTANCE.getToolWithStats(GT_MetaGenerated_Tool_01.AXE, 1, Materials.Flint, Materials.Wood, null)));
}