Update BlockBones.java

Fixed correct texture usage per meta
This commit is contained in:
wwrpg 2015-05-11 22:00:20 -07:00
parent 70ee74d2fb
commit a6d9a44e6a

View file

@ -52,14 +52,14 @@ public class BlockBones extends Block
//TODO: getIcon() //TODO: getIcon()
public IIcon getIcon(int side, int meta) public IIcon getIcon(int side, int meta)
{ {
if (meta == 5 || meta == 6) {
meta = 1;
}
if (meta < 0 || meta >= textures.length) { if (meta < 0 || meta >= textures.length) {
meta = 0; meta = 0;
} }
if (meta == 4 || meta == 5) {
meta = 1;
}
return textures[meta]; return textures[meta];
} }