fix: allow minecraft patch versions to have 2 digits

patch includes game drops now but whatever
This commit is contained in:
trafficlunar 2025-10-08 17:54:25 +01:00
parent a27f529276
commit e7dd18bbc0
4 changed files with 30 additions and 31 deletions

View file

@ -33,7 +33,7 @@ export const CanvasProvider = ({ children }: Props) => {
const [blocks, setBlocks] = useState<Block[]>(welcomeBlocksData);
const [coords, setCoords] = useState<Position>({ x: 0, y: 0 });
const [scale, setScale] = useState(1);
const [version, setVersion] = useState(1219);
const [version, setVersion] = useState(12110);
// Get the farthest away blocks in each direction
const canvasSize = useMemo(() => {