Merge branch 'develop' of github.com:thecodingmachine/workadventure

This commit is contained in:
_Bastler
2022-01-12 10:56:50 +01:00
21 changed files with 41 additions and 39 deletions
+1 -1
View File
@@ -680,7 +680,7 @@ export class SocketManager implements ZoneEventListener {
playGlobalMessageEvent: PlayGlobalMessage
): Promise<void> {
if (!client.tags.includes("admin")) {
throw "Client is not an admin!";
throw new Error("Client is not an admin!");
}
const clientRoomUrl = client.roomId;