Skip to content

Commit 46f0ea0

Browse files
committed
🩹 Fix rebase issues when updating to origin
1 parent b2aee51 commit 46f0ea0

File tree

5 files changed

+372
-8
lines changed

5 files changed

+372
-8
lines changed

src/systems/exporter.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import { resolvePath } from '../util/fileUtil'
77
import { isResourcePackPath, sortMCVersions } from '../util/minecraftUtil'
88
import { translate } from '../util/translation'
99
import { Variant } from '../variants'
10-
import { hashAnimations, renderProjectAnimations } from './animationRenderer'
11-
import compileDataPack from './datapackCompiler'
12-
import resourcepackCompiler from './resourcepackCompiler'
13-
import { hashRig, renderRig } from './rigRenderer'
14-
import { isCubeValid } from './util'
10+
import { hashAnimations, renderProjectAnimations } from './animation-renderer'
11+
import datapackCompiler from './datapack-compiler'
12+
import { exportJSON } from './plugin-json-compiler'
13+
import resourcepackCompiler from './resourcepack-compiler'
14+
import { hashRig, renderRig } from './rig-renderer'
1515

1616
export class IntentionalExportError extends Error {}
1717

src/systems/minecraft-temp/assetManager.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { PACKAGE } from '../../constants'
22
import { getCurrentVersion, getLatestVersion } from './versionManager'
33

44
import EVENTS from '@aj/util/events'
5-
import { app } from 'electron'
65
import { type Unzipped } from 'fflate'
76
import {
87
showOfflineError,
@@ -83,7 +82,7 @@ export async function getLatestVersionClientDownloadUrl() {
8382
}
8483

8584
function getCachedJarFilePath() {
86-
const userDataPath = (electron?.app ?? app).getPath('userData')
85+
const userDataPath = electron.app.getPath('userData')
8786
return PathModule.join(userDataPath, `${PACKAGE.name}/latest.jar`)
8887
}
8988

src/systems/node-configs/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import type { Alignment } from '@aj/blockbench-additions/outliner-elements/textDisplay'
2+
import { translate } from '@aj/util/translation'
23
import { NbtByte, NbtCompound, NbtFloat, NbtInt, NbtString, NbtTag } from 'deepslate/lib/nbt'
34
import { SerializableConfig } from './serializableConfig'
45
export type { Serialized } from './serializableConfig'

0 commit comments

Comments
 (0)