mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-16 15:30:41 +09:00
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:
5 files changed
+12
-34
No files matched your search
@@ -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 = {
|
||||
|
||||
Reference in new issue
Block a user