Auto-format spaces to tabs (#2)

This commit is contained in:
mezz committed 2016-10-27 02:49:49 -07:00
1 parent 25be7fd254
commit 5bb4b5d9a5
756 files changed
+49198 -48489

No files matched your search

@@ -5,26 +5,26 @@ import net.minecraft.util.text.TextFormatting;
import net.minecraft.util.text.translation.I18n;
public enum EnumAcidity implements IStringSerializable {
Acid(TextFormatting.RED),
Neutral,
Alkaline(TextFormatting.AQUA);
Acid(TextFormatting.RED),
Neutral,
Alkaline(TextFormatting.AQUA);
final TextFormatting color;
EnumAcidity() {
this(null);
}
EnumAcidity(TextFormatting color) {
this.color = color;
}
@Override
public String getName() {
return this.name().toLowerCase();
}
public String getTranslated(boolean withColor){
return (withColor && color != null ? color : "") + I18n.translateToLocal("botany.ph." + getName());
}
@Override
public String getName() {
return this.name().toLowerCase();
}
public String getTranslated(boolean withColor) {
return (withColor && color != null ? color : "") + I18n.translateToLocal("botany.ph." + getName());
}
}