diff --git a/server/Chunk.ts b/server/Chunk.ts index a5bf3e7..c8dddc9 100644 --- a/server/Chunk.ts +++ b/server/Chunk.ts @@ -1,4 +1,3 @@ -import { Console } from "../console"; import { FunkyArray } from "../funkyArray"; import { NibbleArray } from "../nibbleArray"; import { Block } from "./blocks/Block"; diff --git a/server/MetadataWriter.ts b/server/MetadataWriter.ts index 15e79c6..89e44db 100644 --- a/server/MetadataWriter.ts +++ b/server/MetadataWriter.ts @@ -44,7 +44,7 @@ export class MetadataWriter { public writeBuffer() { const writer = createWriter(Endian.BE, this.calculateBufferSize()); - for (let key of this.entries.keys) { + for (const key of this.entries.keys) { const entry = this.entries.get(key); if (entry instanceof MetadataEntry) { writer.writeByte((entry.type << 5 | key & 0x1f) & 0xff);