mirror of
https://github.com/trafficlunar/blockmatic.git
synced 2026-08-12 12:29:42 +00:00
fix: allow minecraft patch versions to have 2 digits
patch includes game drops now but whatever
This commit is contained in:
parent
a27f529276
commit
e7dd18bbc0
4 changed files with 30 additions and 31 deletions
|
|
@ -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(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue