1
0
mirror of synced 2025-01-20 00:42:46 +01:00
This commit is contained in:
Rin 2022-07-17 11:08:20 +01:00
parent 6fb44daa1f
commit d73300f49f
2 changed files with 4 additions and 2 deletions

View File

@ -72,6 +72,8 @@ export default class AllnetModule extends Module {
let shopName = Config.getConfig().shopName;
let shopNick = Config.getConfig().shopNickname;
let regionName = Config.getConfig().regionName;
// TODO: Implement board authentication here.
const resParams = {
stat: 1,

View File

@ -238,7 +238,7 @@ export default class GameModule extends Module {
return;
}
let carStates = user.cars.map(e => e.state);
let tickets = user!.unusedTickets.map(x => {
let tickets = (user.unusedTickets || []).map(x => {
return {
itemId: x.itemId,
userItemId: x.dbId,
@ -281,7 +281,7 @@ export default class GameModule extends Module {
unusedTickets: true,
}
});
let tickets = user!.unusedTickets.map(x => {
let tickets = (user?.unusedTickets || []).map(x => {
return {
itemId: x.itemId,
userItemId: x.dbId,