From 3ca20743a3d3bd67d0df44378244a56af9356e7f Mon Sep 17 00:00:00 2001 From: Holly Date: Mon, 26 Jun 2023 10:00:06 +0100 Subject: [PATCH] clear off even more codefactor issues --- server/Chunk.ts | 1 - server/MetadataWriter.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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);