Skip to content

Commit 5341fed

Browse files
committed
Address small review comments
1 parent 0ff53b5 commit 5341fed

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

chunky/src/java/se/llbit/chunky/world/JavaDimension.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public boolean regionExistsWithinRange(RegionPosition pos, int minY, int maxY) {
114114
/**
115115
* @return File object pointing to the region file directory
116116
*/
117-
public synchronized File getRegionDirectory() {
117+
public File getRegionDirectory() {
118118
return new File(getDimensionDirectory(), "region");
119119
}
120120

@@ -127,7 +127,7 @@ public Date getLastModified() {
127127
*
128128
* @return File object pointing to the data directory
129129
*/
130-
protected synchronized File getDimensionDirectory() {
130+
protected File getDimensionDirectory() {
131131
return dimensionDirectory;
132132
}
133133

chunky/src/java/se/llbit/chunky/world/JavaWorld.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public class JavaWorld extends World {
7070
new String[] { NETHER_DIMENSION_ID, OVERWORLD_DIMENSION_ID, END_DIMENSION_ID }
7171
));
7272

73-
int versionId;
73+
protected int versionId;
7474

7575
/**
7676
* @param levelName name of the world (not the world directory).

0 commit comments

Comments
 (0)