diff --git a/src/server/sessions.ts b/src/server/sessions.ts index c44ce6266..36be0b081 100644 --- a/src/server/sessions.ts +++ b/src/server/sessions.ts @@ -1,4 +1,4 @@ -import { Player, system, world } from "@minecraft/server"; +import { Player, system } from "@minecraft/server"; import { Server, Vector, setTickTimeout, contentLog, Databases } from "@notbeer-api"; import { Tools } from "./tools/tool_manager.js"; import { History } from "@modules/history.js"; diff --git a/src/server/util.ts b/src/server/util.ts index de1c26a16..e0913c513 100644 --- a/src/server/util.ts +++ b/src/server/util.ts @@ -62,13 +62,7 @@ export function canPlaceBlock(loc: Vector3, dim: Dimension) { } export function blockHasNBTData(block: Block) { - const components: `${BlockComponentTypes}`[] = [ - "minecraft:inventory", - "minecraft:sign", - "minecraft:piston", - "minecraft:record_player", - "minecraft:fluidContainer", - ]; + const components: `${BlockComponentTypes}`[] = ["minecraft:inventory", "minecraft:sign", "minecraft:piston", "minecraft:record_player", "minecraft:fluidContainer"]; const nbt_blocks = [ "minecraft:bee_nest", "minecraft:beehive",