mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-28 06:44:31 +01:00
Fix AIOOBE
By: md_5 <md_5@live.com.au>
This commit is contained in:
parent
01b59cf819
commit
c1aa17a5ad
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ index 0000000..1ac8c26
|
||||||
+ buffer[index] = (byte) Block.STONE.id;
|
+ buffer[index] = (byte) Block.STONE.id;
|
||||||
+ }
|
+ }
|
||||||
+ }
|
+ }
|
||||||
+ if (++index > buffer.length) {
|
+ if (++index >= buffer.length) {
|
||||||
+ return;
|
+ return;
|
||||||
+ }
|
+ }
|
||||||
+ }
|
+ }
|
||||||
|
|
Loading…
Add table
Reference in a new issue