Skip to content

Commit

Permalink
No need in seeking chunk in storage having it as an argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Fedin committed Nov 26, 2016
1 parent 621ca07 commit a5a44f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/ru/wpstuio/amorphine/mcaliases/Region.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public void saveChunk(Chunk chunk) throws IOException{

DataOutputStream stream = region_file.getChunkDataOutputStream(local_x, local_z);

NbtIo.write(chunks[local_x][local_z].getTag(), stream);
NbtIo.write(chunk.getTag(), stream);

stream.close();
}
Expand Down

0 comments on commit a5a44f6

Please sign in to comment.