Skip to content

Commit

Permalink
Fixing linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Tynarus committed Mar 6, 2021
1 parent 09a4df4 commit ec410a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/world/action/player-region-changed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ const playerRegionChangedHandler = (actionData: PlayerRegionChangedData): void =
return;
}

actionList.forEach(actionHook =>
new Promise<void>(async resolve => {
await actionHook.handler(actionData);
actionList.forEach(async actionHook =>
new Promise<void>(resolve => {
actionHook.handler(actionData);
resolve();
}));
};
Expand Down

0 comments on commit ec410a5

Please sign in to comment.