Fix style
This commit is contained in:
parent
ac80850335
commit
953912b892
@ -470,7 +470,7 @@ export class IoSocketController {
|
||||
subMessage.setItemeventmessage(itemEventMessage);
|
||||
|
||||
// Let's send the event without using the SocketIO room.
|
||||
for (let user of world.getUsers().values()) {
|
||||
for (const user of world.getUsers().values()) {
|
||||
const client = this.searchClientByIdOrFail(user.id);
|
||||
//client.emit(SocketIoEvent.ITEM_EVENT, itemEvent);
|
||||
emitInBatch(client, SocketIoEvent.ITEM_EVENT, subMessage);
|
||||
|
Loading…
Reference in New Issue
Block a user