Disable mset for now
This commit is contained in:
3
sheet.ts
3
sheet.ts
@@ -18,7 +18,7 @@ export type Sheet = {
|
||||
}
|
||||
export type SheetType = Sheet["sheet_type"];
|
||||
|
||||
export const getSheet = (n: number) => {
|
||||
export const getSheet = (n: number): Sheet => {
|
||||
return getCart()[n];
|
||||
}
|
||||
|
||||
@@ -51,5 +51,6 @@ export const getMapSheet = (sheet: number) => {
|
||||
if (sheet_type !== "map") {
|
||||
throw "Trying to use a non-map sheet as a map."
|
||||
}
|
||||
sheet_type
|
||||
return LinearGrid(value, 64);
|
||||
}
|
||||
Reference in New Issue
Block a user