diff options
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/forestry/bees/handler')
4 files changed, 20 insertions, 8 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_CombType.java b/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_CombType.java index 4bc47fa7bd..31b14ed4e6 100644 --- a/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_CombType.java +++ b/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_CombType.java @@ -32,12 +32,15 @@ public enum GTPP_CombType { GTPP_CombType(int aID, String aName, boolean aShow, int aChance, int... aColour) { this.mID = aID; this.mName = aName; - this.mNameUnlocal = aName.toLowerCase().replaceAll(" ", ""); + this.mNameUnlocal = aName.toLowerCase() + .replaceAll(" ", ""); this.mChance = aChance; this.mShowInList = aShow; this.mColour = aColour; map(aID, this); - this.mMaterial = GTPP_Bees.sMaterialMappings.get(aName.toLowerCase().replaceAll(" ", "")); + this.mMaterial = GTPP_Bees.sMaterialMappings.get( + aName.toLowerCase() + .replaceAll(" ", "")); GT_LanguageManager.addStringLocalization("gtplusplus.comb." + this.mNameUnlocal, this.mName + " Comb"); } diff --git a/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_DropType.java b/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_DropType.java index 6f43d4a43e..9819c586cd 100644 --- a/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_DropType.java +++ b/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_DropType.java @@ -32,11 +32,14 @@ public enum GTPP_DropType { private GTPP_DropType(int aID, String aName, boolean aShow, int... aColour) { this.mID = aID; this.mName = aName; - this.mNameUnlocal = aName.toLowerCase().replaceAll(" ", ""); + this.mNameUnlocal = aName.toLowerCase() + .replaceAll(" ", ""); this.mShowInList = aShow; this.mColour = aColour; map(aID, this); - this.mMaterial = GTPP_Bees.sMaterialMappings.get(aName.toLowerCase().replaceAll(" ", "")); + this.mMaterial = GTPP_Bees.sMaterialMappings.get( + aName.toLowerCase() + .replaceAll(" ", "")); GT_LanguageManager.addStringLocalization("gtplusplus.drop." + this.mNameUnlocal, this.mName + " Drop"); } diff --git a/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_PollenType.java b/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_PollenType.java index acca5b810f..66451c7581 100644 --- a/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_PollenType.java +++ b/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_PollenType.java @@ -31,11 +31,14 @@ public enum GTPP_PollenType { private GTPP_PollenType(int aID, String aName, boolean aShow, int... aColour) { this.mID = aID; this.mName = aName; - this.mNameUnlocal = aName.toLowerCase().replaceAll(" ", ""); + this.mNameUnlocal = aName.toLowerCase() + .replaceAll(" ", ""); this.mShowInList = aShow; this.mColour = aColour; map(aID, this); - this.mMaterial = GTPP_Bees.sMaterialMappings.get(aName.toLowerCase().replaceAll(" ", "")); + this.mMaterial = GTPP_Bees.sMaterialMappings.get( + aName.toLowerCase() + .replaceAll(" ", "")); GT_LanguageManager.addStringLocalization("gtplusplus.pollen." + this.mNameUnlocal, this.mName + " Pollen"); } diff --git a/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_PropolisType.java b/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_PropolisType.java index b76d79d387..eb3b617077 100644 --- a/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_PropolisType.java +++ b/src/main/java/gtPlusPlus/xmod/forestry/bees/handler/GTPP_PropolisType.java @@ -32,11 +32,14 @@ public enum GTPP_PropolisType { private GTPP_PropolisType(int aID, String aName, boolean aShow, int aColour) { this.mID = aID; this.mName = aName; - this.mNameUnlocal = aName.toLowerCase().replaceAll(" ", ""); + this.mNameUnlocal = aName.toLowerCase() + .replaceAll(" ", ""); this.mShowInList = aShow; this.mColour = aColour; map(aID, this); - this.mMaterial = GTPP_Bees.sMaterialMappings.get(aName.toLowerCase().replaceAll(" ", "")); + this.mMaterial = GTPP_Bees.sMaterialMappings.get( + aName.toLowerCase() + .replaceAll(" ", "")); GT_LanguageManager.addStringLocalization("gtplusplus.propolis." + this.mNameUnlocal, this.mName + " Propolis"); } |
