Fix compiling

This commit is contained in:
s809
2023-09-07 21:07:16 +05:00
parent 1e1ddd505b
commit e02eddc60e
2 changed files with 2 additions and 2 deletions
@@ -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;