mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-26 06:53:30 +00:00
Adding database and soil localisation
This commit is contained in:
1 parent
7e9a87f08b
commit
a300bc0a11
13 files changed
+71
-33
No files matched your search
@@ -129,10 +129,13 @@ public class ItemBotany extends Item implements IColoredItem, IItemModelRegister
|
||||
@Override
|
||||
public String getItemStackDisplayName(final ItemStack itemstack) {
|
||||
if (!itemstack.hasTagCompound()) {
|
||||
return "Unknown";
|
||||
return Binnie.Language.localise("item.botany.flower.corrupted.name");
|
||||
}
|
||||
final IIndividual individual = this.getIndividual(itemstack);
|
||||
return (individual != null && individual.getGenome() != null) ? (individual.getDisplayName() + tag) : "Corrupted Flower";
|
||||
IIndividual individual = this.getIndividual(itemstack);
|
||||
if (individual != null && individual.getGenome() != null) {
|
||||
return individual.getDisplayName() + (!tag.isEmpty() ? " " + Binnie.Language.localise("item.botany." + tag + ".name") : "");
|
||||
}
|
||||
return Binnie.Language.localise("item.botany.flower.corrupted.name");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user