1
0
mirror of https://github.com/zumbiepig/MineXLauncher.git synced 2025-06-26 10:05:10 +00:00

add webmc oneblock to servers

This commit is contained in:
zumbiepig
2024-09-09 18:59:08 -07:00
committed by GitHub
parent 44700e062b
commit 9718ba0231
3 changed files with 3 additions and 46 deletions

View File

@@ -6,6 +6,7 @@ window.addEventListener('load', () => {
assetsURI: `${window.location.pathname}/assets.epk`,
localesURI: `${window.location.pathname}/lang/`,
servers: [
{ addr: 'wss://webmc.xyz/server', name: 'WebMC OneBlock' },
{ addr: 'wss://mc.ricenetwork.xyz', name: 'Rice Network' },
{ addr: 'wss://mc.lamplifesteal.xyz', name: 'LampLifesteal' },
{ addr: 'wss://electronmc.club', name: 'Electron Network' },
@@ -20,6 +21,7 @@ window.addEventListener('load', () => {
const urlParams = new URLSearchParams(window.location.search);
window.eaglercraftXOpts.joinServer = urlParams.get('server') ?? undefined;
window.eaglercraftXOpts.mods = storage.local.get('mods') ?? [];
history.replaceState({}, '', '/play');
main();