aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/core/item/base
diff options
context:
space:
mode:
authorJordan Byrne <draknyte1@hotmail.com>2018-03-06 17:15:04 +1000
committerJordan Byrne <draknyte1@hotmail.com>2018-03-06 17:15:04 +1000
commitfb9cfbd808e89837b9a60fa3d434dfec7410d365 (patch)
treefc6e6a7543dd9a7e4b2b25f83753e4709c164072 /src/Java/gtPlusPlus/core/item/base
parent6aac532119fa994f5e708e28e4a1545ddd819d23 (diff)
downloadGT5-Unofficial-fb9cfbd808e89837b9a60fa3d434dfec7410d365.tar.gz
GT5-Unofficial-fb9cfbd808e89837b9a60fa3d434dfec7410d365.tar.bz2
GT5-Unofficial-fb9cfbd808e89837b9a60fa3d434dfec7410d365.zip
+ Added temp recipes for the Cyclotron and it's casings.
+ Added a config option for the Cyclotron. - Reduced output chance and quantity of AM241 pellets. $ Fixed localization for all sizes of dusts.
Diffstat (limited to 'src/Java/gtPlusPlus/core/item/base')
-rw-r--r--src/Java/gtPlusPlus/core/item/base/dusts/BaseItemDust.java12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/Java/gtPlusPlus/core/item/base/dusts/BaseItemDust.java b/src/Java/gtPlusPlus/core/item/base/dusts/BaseItemDust.java
index 0b6193253a..59d97c306d 100644
--- a/src/Java/gtPlusPlus/core/item/base/dusts/BaseItemDust.java
+++ b/src/Java/gtPlusPlus/core/item/base/dusts/BaseItemDust.java
@@ -100,7 +100,15 @@ public class BaseItemDust extends Item{
@Override
public String getItemStackDisplayName(final ItemStack iStack) {
- if (this.getUnlocalizedName().contains("DustTiny")){
+ String unlocal = super.getItemStackDisplayName(iStack);
+ if (!unlocal.toLowerCase().contains(".name")) {
+ return unlocal;
+ }
+ else {
+ return unlocal;
+ }
+
+ /*if (this.getUnlocalizedName().contains("DustTiny")){
this.name = "Tiny Pile of "+this.materialName + " Dust";
}
else if (this.getUnlocalizedName().contains("DustSmall")){
@@ -109,7 +117,7 @@ public class BaseItemDust extends Item{
else {
this.name = this.materialName + " Dust";
}
- return this.name;
+ return this.name;*/
}
protected final int sRadiation;