Skip to content
This repository has been archived by the owner on Apr 7, 2019. It is now read-only.

Commit

Permalink
increase inflated byte[] size of MapBlock Data to 1MB
Browse files Browse the repository at this point in the history
  • Loading branch information
naturefreshmilk committed Jul 18, 2018
1 parent c351a5f commit 5d5b6bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public static MapBlock parse(byte[] data, int x, int y, int z) throws IllegalArg
inflater = new Inflater();
inflater.setInput(data, dataOffset, data.length - dataOffset);

block.metadata = new byte[1024*100]; //100k
block.metadata = new byte[1024*1024]; //1M

try {
//Dummy inflation to get size
Expand Down

0 comments on commit 5d5b6bc

Please sign in to comment.