Skip to content

Commit

Permalink
No need in seeking chunk in storage having tag to write
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Fedin committed Nov 26, 2016
1 parent a5a44f6 commit 1c0edcb
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 @@ -90,7 +90,7 @@ public void saveTagAsChunk(Coordinates2d cords, CompoundTag tag) throws IOExcept

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

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

stream.close();
}
Expand Down

0 comments on commit 1c0edcb

Please sign in to comment.