diff --git a/src/components/canvas/Blocks.tsx b/src/components/canvas/Blocks.tsx index cf640c1..ba6467d 100644 --- a/src/components/canvas/Blocks.tsx +++ b/src/components/canvas/Blocks.tsx @@ -5,7 +5,6 @@ import * as PIXI from "pixi.js"; import { useApp } from "@pixi/react"; import { CompositeTilemap, settings } from "@pixi/tilemap"; -import { getBlockData } from "@/utils/getBlockData"; import { findBlockFromRgb } from "@/utils/findBlockFromRgb"; interface Props { @@ -37,14 +36,11 @@ function Blocks({ usableBlocks, coords, scale, - version, setLoading, }: Props) { const app = useApp(); const tilemapRef = useRef(); - const blockData = getBlockData(version); - const tileBlocks = () => { if (!tilemapRef.current) return; const tilemap = tilemapRef.current;