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