Fix wrong name for flowers
This commit is contained in:
kordum committed 2017-07-12 12:30:19 +03:00
1 parent 0444201f7a
commit e9ad1bda8e
3 files changed
+13

No files matched your search

@@ -39,6 +39,11 @@ public class BlockFlower extends BlockContainer {
setStepSound(Block.soundTypeGrass);
}
@Override
public String getUnlocalizedName() {
return "botany.flower";
}
@Override
public int getRenderType() {
return RendererBotany.renderID;
@@ -218,4 +223,10 @@ public class BlockFlower extends BlockContainer {
}
return hasBeenBroken;
}
@Override
@SideOnly(Side.CLIENT)
public IIcon getIcon(int meta, int side) {
return Blocks.yellow_flower.getIcon(0, 0);
}
}