Fixing issue #113.
This commit is contained in:
parent
35b9c74e65
commit
28ac09bf2e
1 changed files with 3 additions and 1 deletions
|
@ -54,7 +54,9 @@ public class BlockBOPGrass extends Block
|
|||
@Override
|
||||
public Icon getIcon(int side, int meta)
|
||||
{
|
||||
if (side < 0 || side >= blockIcon[meta].length)
|
||||
if (meta < 0 || meta >= blockIcon.length)
|
||||
meta = 1;
|
||||
if (side < 0 || side >= blockIcon[meta].length)
|
||||
side = 1;
|
||||
|
||||
return blockIcon[meta][side];
|
||||
|
|
Loading…
Reference in a new issue