diff options
author | bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com> | 2019-09-29 18:49:15 +0200 |
---|---|---|
committer | bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com> | 2019-09-29 18:49:15 +0200 |
commit | c3ba4b8cd8dc2bb516e2beab8915e08fdac1ccbb (patch) | |
tree | b558507e0cffbe4beb16542b88db28b978ec8fdb /src/main/java | |
parent | 2ae116761204b2002e8728cc4926d60cee0732d1 (diff) | |
download | GT5-Unofficial-c3ba4b8cd8dc2bb516e2beab8915e08fdac1ccbb.tar.gz GT5-Unofficial-c3ba4b8cd8dc2bb516e2beab8915e08fdac1ccbb.tar.bz2 GT5-Unofficial-c3ba4b8cd8dc2bb516e2beab8915e08fdac1ccbb.zip |
added Localisation for a few more fluids
Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>
Former-commit-id: 968a052970b71ea7081e627e384bc4b02b8b7400
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/com/github/bartimaeusnek/bartworks/common/loaders/FluidLoader.java | 2 |
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; |