Fix typo in red flower petal enum

This commit is contained in:
Cheeserolls 2015-04-05 14:42:21 +01:00
parent 2413786922
commit 674d21ad35
2 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@ public class BOPTreeEnums
public static enum AllTrees implements IStringSerializable { public static enum AllTrees implements IStringSerializable {
YELLOW_AUTUMN, ORANGE_AUTUMN, BAMBOO, MAGIC, DARK, DEAD, FIR, ETHEREAL, ORIGIN, PINK_CHERRY, WHITE_CHERRY, MAPLE, HELLBARK, FLOWERING, JACARANDA, SACRED_OAK, MANGROVE, PALM, REDWOOD, WILLOW, PINE, MAHOGANY, REG_BIG_FLOWER, YELLOW_BIG_FLOWER; YELLOW_AUTUMN, ORANGE_AUTUMN, BAMBOO, MAGIC, DARK, DEAD, FIR, ETHEREAL, ORIGIN, PINK_CHERRY, WHITE_CHERRY, MAPLE, HELLBARK, FLOWERING, JACARANDA, SACRED_OAK, MANGROVE, PALM, REDWOOD, WILLOW, PINE, MAHOGANY, RED_BIG_FLOWER, YELLOW_BIG_FLOWER;
@Override @Override
public String getName() { public String getName() {

View file

@ -63,7 +63,7 @@ public class BlockBOPLeaves extends BlockLeaves implements IBOPBlock
AllTrees treeType = ((FourTrees) state.getValue(VARIANT)).map(this.pageNum); AllTrees treeType = ((FourTrees) state.getValue(VARIANT)).map(this.pageNum);
switch (treeType) switch (treeType)
{ {
case REG_BIG_FLOWER: case YELLOW_BIG_FLOWER: case RED_BIG_FLOWER: case YELLOW_BIG_FLOWER:
return treeType.getName() + "_petal"; return treeType.getName() + "_petal";
default: default:
return treeType.getName() + "_leaves"; return treeType.getName() + "_leaves";
@ -157,7 +157,7 @@ public class BlockBOPLeaves extends BlockLeaves implements IBOPBlock
case WILLOW: case WILLOW:
case PINE: case PINE:
case MAHOGANY: case MAHOGANY:
case REG_BIG_FLOWER: case RED_BIG_FLOWER:
case YELLOW_BIG_FLOWER: case YELLOW_BIG_FLOWER:
default: default:
fruit = new ItemStack(Items.apple, 1, 0); fruit = new ItemStack(Items.apple, 1, 0);