From 635995e6bccc454bafd798778bdfd14a280209ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=9C=B1?= <10714957+xiao-zhu245@user.noreply.gitee.com> Date: Sat, 12 Jul 2025 23:11:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=93=E5=8C=85=E5=90=AF?= =?UTF-8?q?=E5=8A=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/modules/game/othergame/mrpack-server-api.ts | 2 +- server/src/modules/game/othergame/unified-functions.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/modules/game/othergame/mrpack-server-api.ts b/server/src/modules/game/othergame/mrpack-server-api.ts index 2383782..a201cb5 100644 --- a/server/src/modules/game/othergame/mrpack-server-api.ts +++ b/server/src/modules/game/othergame/mrpack-server-api.ts @@ -4,7 +4,7 @@ import { createWriteStream } from 'fs'; import * as path from 'path'; import * as yauzl from 'yauzl'; import { spawn, ChildProcess } from 'child_process'; -import { ApiService as MinecraftAPI, FileManager, LogCallback } from './minecraft-server-api'; +import { ApiService as MinecraftAPI, FileManager, LogCallback } from './minecraft-server-api.js'; // ==================== 类型定义 ==================== diff --git a/server/src/modules/game/othergame/unified-functions.ts b/server/src/modules/game/othergame/unified-functions.ts index 2eaa0d9..1565641 100644 --- a/server/src/modules/game/othergame/unified-functions.ts +++ b/server/src/modules/game/othergame/unified-functions.ts @@ -10,7 +10,7 @@ import * as yauzl from 'yauzl'; import { spawn, ChildProcess } from 'child_process'; import * as os from 'os'; import * as tar from 'tar'; -import { MrpackServerAPI } from './mrpack-server-api'; +import { MrpackServerAPI } from './mrpack-server-api.js'; import { pipeline } from 'stream'; import { promisify } from 'util';