Fix AIOOBE

This commit is contained in:
md_5 2013-01-24 19:28:22 +11:00
parent 0c9154899b
commit 21a8ef9729
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ index 0000000..1ac8c26
+ buffer[index] = (byte) Block.STONE.id;
+ }
+ }
+ if (++index > buffer.length) {
+ if (++index >= buffer.length) {
+ return;
+ }
+ }