mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-19 19:59:49 +00:00
Rename color and flower enum entities to UPPER_CASE Refactoring FlowerSpecies Added some localization
This commit is contained in:
1 parent
542dbb15b0
commit
263a4f3bfc
16 files changed
+3402
-3302
No files matched your search
@@ -180,7 +180,7 @@ public abstract class ItemBotany extends Item {
|
||||
public IIcon getIcon(ItemStack itemstack, int renderPass) {
|
||||
IFlower flower = BotanyCore.speciesRoot.getMember(itemstack);
|
||||
if (flower == null || flower.getGenome() == null || flower.getGenome().getPrimary() == null) {
|
||||
return EnumFlowerType.Allium.getBlank();
|
||||
return EnumFlowerType.ALLIUM.getBlank();
|
||||
}
|
||||
|
||||
IFlowerType type = flower.getGenome().getPrimary().getType();
|
||||
|
||||
Reference in new issue
Block a user