Do stuff
This commit is contained in:
parent
6fb44daa1f
commit
d73300f49f
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user