Skip to content

Commit

Permalink
Null Check, Just to be sure...
Browse files Browse the repository at this point in the history
  • Loading branch information
AlgorithmX2 committed Aug 5, 2016
1 parent b5fc9d9 commit d212337
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -229,7 +229,7 @@ public int getFormat()
{
if ( format == Integer.MIN_VALUE )
{
if ( voxelBytes.length == 0 )
if ( voxelBytes == null || voxelBytes.length == 0 )
{
format = -1;
}
Expand Down

0 comments on commit d212337

Please sign in to comment.