Update BlockBones.java
Fixed correct texture usage per meta
This commit is contained in:
parent
70ee74d2fb
commit
a6d9a44e6a
1 changed files with 4 additions and 4 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue