mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-23 08:00:51 +01:00
Fix GroupBuyComposer
This commit is contained in:
parent
1bea85dd6e
commit
54144c28c6
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user