Need help with class of a log block

I'm trying to create a new wood log block in my Mod, but I can't get the side and top textures to render on the block at the same time without Minecraft crashing. I was wondering if anyone knows a code for my class that would work. the two images are located at assets.mymod.textures.blocks.MyBlock_6 and assets.mymod.textures.blocks.MyLogFace_1.
 

[AH] Discord Widget

Top