Botania

Botania

137M Downloads

Double Flowers return wrong Icon

SanityCh3ck opened this issue ยท 1 comments

commented

WAILA displays the bottom icon for the top part of the flower, and vice versa.

In BlockModDoubleFlower.java

public IIcon getIcon(IBlockAccess world, int x, int y, int z, int side) {
    //stuff
 return (top ? doublePlantBottomIcons : doublePlantTopIcons)[meta & 7];
 }

should probably be:

public IIcon getIcon(IBlockAccess world, int x, int y, int z, int side) {
    //same stuff
 return (top ? doublePlantTopIcons : doublePlantBottomIcons)[meta & 7];
 }
commented

Reverting that breaks the block render. It's a minor issue so I won't bother fixing.