allow chunks to be saved again. oops

This commit is contained in:
Holly Stubbs 2023-04-17 02:07:01 +01:00
parent e21bda6201
commit 8b906bfe8f
Signed by: tgpholly
GPG key ID: B8583C4B7D18119E

View file

@ -86,9 +86,9 @@ export class WorldSaveManager {
} }
public writeChunkToDisk(chunk:Chunk) { public writeChunkToDisk(chunk:Chunk) {
return new Promise<boolean>((resolve, reject) => { /*return new Promise<boolean>((resolve, reject) => {
resolve(true); resolve(true);
}); });*/
return new Promise<boolean>((resolve, reject) => { return new Promise<boolean>((resolve, reject) => {
const saveType = this.config.saveCompression; const saveType = this.config.saveCompression;
const chunkFileWriter = new Writer(10); const chunkFileWriter = new Writer(10);