Skip to content

Commit

Permalink
Use ALL_DATA instead of -1
Browse files Browse the repository at this point in the history
  • Loading branch information
prydin committed Jun 2, 2020
1 parent 28789ef commit 2f38501
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/net/querz/mca/Chunk.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class Chunk {
*/
public Chunk(CompoundTag data) {
this.data = data;
initReferences(-1);
initReferences(ALL_DATA);
}

private void initReferences(long loadFlags) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/querz/mca/Section.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class Section {
private int dataVersion;

public Section(CompoundTag sectionRoot, int dataVersion) {
this(sectionRoot, dataVersion, -1);
this(sectionRoot, dataVersion, ALL_DATA);
}

public Section(CompoundTag sectionRoot, int dataVersion, long loadFlags) {
Expand Down

0 comments on commit 2f38501

Please sign in to comment.