diff --git a/public/panorama/vanilla_tu19_Panorama_Background_Day.png b/public/panorama/vanilla_tu19_Panorama_Background_Day.png index aa4a554..c719315 100644 Binary files a/public/panorama/vanilla_tu19_Panorama_Background_Day.png and b/public/panorama/vanilla_tu19_Panorama_Background_Day.png differ diff --git a/public/panorama/vanilla_tu19_Panorama_Background_Night.png b/public/panorama/vanilla_tu19_Panorama_Background_Night.png index ce9d7de..8e597f6 100644 Binary files a/public/panorama/vanilla_tu19_Panorama_Background_Night.png and b/public/panorama/vanilla_tu19_Panorama_Background_Night.png differ diff --git a/public/panorama/vanilla_tu24_Panorama_Background_Day.png b/public/panorama/vanilla_tu24_Panorama_Background_Day.png index 0fe098b..1760c0c 100644 Binary files a/public/panorama/vanilla_tu24_Panorama_Background_Day.png and b/public/panorama/vanilla_tu24_Panorama_Background_Day.png differ diff --git a/public/panorama/vanilla_tu24_Panorama_Background_Night.png b/public/panorama/vanilla_tu24_Panorama_Background_Night.png index ab4fba2..2cf58ff 100644 Binary files a/public/panorama/vanilla_tu24_Panorama_Background_Night.png and b/public/panorama/vanilla_tu24_Panorama_Background_Night.png differ diff --git a/src/hooks/useGameManager.ts b/src/hooks/useGameManager.ts index 5184e09..b08d38c 100644 --- a/src/hooks/useGameManager.ts +++ b/src/hooks/useGameManager.ts @@ -45,7 +45,7 @@ export const BASE_EDITIONS = [ url: "https://git.revela.dev/itsRevela/LCE-Revelations/releases/download/Nightly/LCE-Revelations-Client-Win64.zip", titleImage: "/images/minecraft_title_revelations.png", supportsSlimSkins: false, - panorama: "vanilla_tu24", + panorama: "vanilla_tu19", logo: "/images/revelations.png", }, /*{ diff --git a/src/services/LceOnlineService.ts b/src/services/LceOnlineService.ts index 30ebc0a..a91d367 100644 --- a/src/services/LceOnlineService.ts +++ b/src/services/LceOnlineService.ts @@ -36,9 +36,6 @@ export class LceOnlineService { private _listeners: Array<() => void> = []; constructor() { this.loadSession(); - if (this._session) { - this.refreshToken(); - } } onSessionChange(listener: () => void): () => void { @@ -212,28 +209,6 @@ export class LceOnlineService { return data; } - async refreshToken(): Promise { - if (!this._session) return false; - - try { - const res = await this.request("POST", "/refreshtoken", null, AUTH_BASE_URL); - if (typeof res === "string" && res.startsWith("-")) { - const data = JSON.parse(res); - this._session.accessToken = data.token; - this._session.account = { username: data.username, displayName: data.displayName }; - this.saveSession(); - this._notify(); - return true; - } - this.logoutLocal(); - return false; - } catch (e) { - console.warn("Failed to refresh token", e); - this.logoutLocal() - return false; - } - } - async getSocialLists() { const res = await this.request("GET", "/getSocialLists", null); if (typeof res === "string") throw new Error(res);