mirror of
https://github.com/zumbiepig/MineXLauncher.git
synced 2025-06-08 09:24:48 +00:00
patch
This commit is contained in:
parent
7267b0ebf9
commit
59e25f51ac
@ -1,4 +1,21 @@
|
|||||||
// @ts-nocheck
|
// @ts-nocheck
|
||||||
|
const storage = {
|
||||||
|
local: {
|
||||||
|
get: function (key: string) {
|
||||||
|
const item = localStorage.getItem('minexlauncher');
|
||||||
|
if (item !== null) {
|
||||||
|
//const decoded = atob(item);
|
||||||
|
const json = JSON.parse(item);
|
||||||
|
if (json[key] !== undefined) {
|
||||||
|
return json[key];
|
||||||
|
}
|
||||||
|
return undefined;
|
||||||
|
}
|
||||||
|
return undefined;
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
window.addEventListener('load', () => {
|
window.addEventListener('load', () => {
|
||||||
const relayId = Math.floor(Math.random() * 3);
|
const relayId = Math.floor(Math.random() * 3);
|
||||||
window.eaglercraftXOpts = {
|
window.eaglercraftXOpts = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user