aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/common/loaders/FluidLoader.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/com/github/bartimaeusnek/bartworks/common/loaders/FluidLoader.java b/src/main/java/com/github/bartimaeusnek/bartworks/common/loaders/FluidLoader.java
index 09d8292eb6..17cb6d84a9 100644
--- a/src/main/java/com/github/bartimaeusnek/bartworks/common/loaders/FluidLoader.java
+++ b/src/main/java/com/github/bartimaeusnek/bartworks/common/loaders/FluidLoader.java
@@ -103,11 +103,13 @@ public class FluidLoader implements Runnable {
public static Fluid createAndRegisterFluid(String Name,Color color){
Fluid f = new GT_Fluid(Name,"molten.autogenerated",new short[]{(short) color.getRed(),(short) color.getGreen(),(short) color.getBlue(), (short) color.getAlpha()});
+ GT_LanguageManager.addStringLocalization(f.getUnlocalizedName(), Name);
FluidRegistry.registerFluid(f);
return f;
}
public static Fluid createAndRegisterFluid(String Name, Color color, int temperature){
Fluid f = new GT_Fluid(Name,"molten.autogenerated",new short[]{(short) color.getRed(),(short) color.getGreen(),(short) color.getBlue(), (short) color.getAlpha()});
+ GT_LanguageManager.addStringLocalization(f.getUnlocalizedName(), Name);
f.setTemperature(temperature);
FluidRegistry.registerFluid(f);
return f;