Fix GroupBuyComposer

This commit is contained in:
MyNameIsBatman 2021-09-03 02:08:49 -03:00
parent 1bea85dd6e
commit 54144c28c6

View File

@ -6,7 +6,7 @@ export class GroupBuyComposer implements IMessageComposer<any[]>
constructor(name: string, description: string, roomId: number, colorA: number, colorB: number, badge: number[]) constructor(name: string, description: string, roomId: number, colorA: number, colorB: number, badge: number[])
{ {
this._data = [ name, description, roomId, colorA, colorB, badge.length, badge ]; this._data = [ name, description, roomId, colorA, colorB, badge.length, ...badge ];
} }
public getMessageArray() public getMessageArray()