Skip to content

Commit

Permalink
Ran formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
SIsilicon committed Oct 13, 2024
1 parent 6e0173e commit ad60da3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/server/sessions.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
8 changes: 1 addition & 7 deletions src/server/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit ad60da3

Please sign in to comment.