From ec410a5b05c00d53b04a93ca007d80873fd51c9a Mon Sep 17 00:00:00 2001 From: Tynarus Date: Sat, 6 Mar 2021 13:54:28 -0600 Subject: [PATCH] Fixing linter errors --- src/world/action/player-region-changed.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/world/action/player-region-changed.ts b/src/world/action/player-region-changed.ts index 7f70ae2a2..c9dd78ede 100644 --- a/src/world/action/player-region-changed.ts +++ b/src/world/action/player-region-changed.ts @@ -149,9 +149,9 @@ const playerRegionChangedHandler = (actionData: PlayerRegionChangedData): void = return; } - actionList.forEach(actionHook => - new Promise(async resolve => { - await actionHook.handler(actionData); + actionList.forEach(async actionHook => + new Promise(resolve => { + actionHook.handler(actionData); resolve(); })); };