1
0
mirror of https://github.com/zumbiepig/MineXLauncher.git synced 2025-06-08 07:54:49 +00:00
This commit is contained in:
zumbiepig 2024-09-24 12:37:14 -07:00
parent 028e3e0af9
commit f02e39593f
No known key found for this signature in database
GPG Key ID: 17C891BE28B953DE

View File

@ -469,13 +469,13 @@ window.eaglercraftXOpts = {
const data = storage.local.get('eaglercraftXData'); const data = storage.local.get('eaglercraftXData');
switch (key) { switch (key) {
case 'p': case 'p':
return data.profile ? data.profile : null; return data?.profile ? data?.profile : null;
case 'g': case 'g':
return data.settings ? data.settings : null; return data?.settings ? data?.settings : null;
case 's': case 's':
return data.servers ? data.servers : null; return data?.servers ? data?.servers : null;
case 'r': case 'r':
return data.relays ? data.relays : null; return data?.relays ? data?.relays : null;
} }
}, },
}, },