Build the lobby plugin with Vite

Master replaced webpack with Vite and removed RequestError, port the
lobby plugin to both.
This commit is contained in:
Danielv123 committed 2026-10-29 20:55:59 +01:00
1 parent 00823262d5
commit bf3f4d445f
5 files changed
+12 -34

No files matched your search

+1 -1
View File
@@ -381,7 +381,7 @@ export class LobbyController {
startTransfer(player: string, instanceId: number, lobbyId?: number) {
const instance = this.controller.instances.get(instanceId);
if (!LobbyController.isRoutable(instance)) {
throw new lib.RequestError(`Instance ${instanceId} is not available`);
throw new lib.UnavailableError(`Instance ${instanceId} is not available`);
}
const ready = instance.status === "running";
const transfer: Transfer = {