fix: Fix compiling after merge

This commit is contained in:
Steveplays28
2023-09-24 11:33:49 +02:00
parent f5549f2ebe
commit ed2fca240e
2 changed files with 3 additions and 3 deletions
@@ -68,13 +68,13 @@ public class FullDataFileHandler implements IFullDataSourceProvider
for (DhSectionPos pos : posList)
{
map.put(pos,
metaFileBySectionPos.containsKey(pos) ? 3 // Loaded
loadedMetaFileBySectionPos.containsKey(pos) ? 3 // Loaded
: this.isFileUnloaded(pos) ? 2 // Unloaded
: 1); // Not generated
}
return map;
}
protected boolean isFileUnloaded(DhSectionPos pos) { return unloadedFileBySectionPos.containsKey(pos); }
protected boolean isFileUnloaded(DhSectionPos pos) { return !loadedMetaFileBySectionPos.containsKey(pos); }
protected final IDhLevel level;
protected final File saveDir;
@@ -80,7 +80,7 @@ public class WorldRemoteGenerationQueue implements IWorldGenerationQueue, IDebug
}
@Override
public void runCurrentGenTasksUntilBusy(DhBlockPos2D targetPos)
public void startGenerationQueueAndSetTargetPos(DhBlockPos2D targetPos)
{
if (generatorClosingFuture != null || !networkState.getClient().isReady()) return;