We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86b7e75 commit 5e17df6Copy full SHA for 5e17df6
BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/BlueMapService.java
@@ -70,6 +70,7 @@
70
*/
71
@DebugDump
72
public class BlueMapService implements Closeable {
73
+
74
private final ServerInterface serverInterface;
75
private final BlueMapConfigProvider configs;
76
@@ -116,7 +117,7 @@ public String getWorldId(Path worldFolder) throws IOException {
116
117
id = worldIds.get(worldFolder);
118
if (id != null) return id;
119
- synchronized (this) {
120
+ synchronized (worldIds) {
121
// check again if another thread has already added the world
122
123
0 commit comments