Fix compiling
This commit is contained in:
+1
-1
@@ -85,7 +85,7 @@ public class RemoteFullDataFileHandler extends GeneratedFullDataFileHandler
|
||||
|
||||
Consumer<ChunkSizedFullDataAccessor> chunkDataConsumer = (ChunkSizedFullDataAccessor data) -> {
|
||||
DhLodPos pos = data.getLodPos().convertToDetailLevel(CompleteFullDataSource.SECTION_SIZE_OFFSET);
|
||||
this.write(new DhSectionPos(pos.detailLevel, pos.x, pos.z), data);
|
||||
this.writeChunkDataToFile(new DhSectionPos(pos.detailLevel, pos.x, pos.z), data);
|
||||
};
|
||||
|
||||
this.networkState.getClient().<FullDataChangeSummaryResponseMessage>sendRequest(new FullDataChangeSummaryRequestMessage(level.getLevelWrapper(), block))
|
||||
|
||||
@@ -123,7 +123,7 @@ public class DhServerLevel extends DhLevel implements IDhServerLevel
|
||||
{
|
||||
IncompleteDataSourceEntry entry = incompleteDataSources.computeIfAbsent(msg.dhSectionPos, pos -> {
|
||||
IncompleteDataSourceEntry newEntry = new IncompleteDataSourceEntry();
|
||||
serverside.dataFileHandler.read(msg.dhSectionPos).thenAccept(fullDataSource -> {
|
||||
serverside.dataFileHandler.readAsync(msg.dhSectionPos).thenAccept(fullDataSource -> {
|
||||
newEntry.fullDataSource = fullDataSource;
|
||||
});
|
||||
return newEntry;
|
||||
|
||||
Reference in New Issue
Block a user