use methods from the foundry.utils namespaces instead of their global counterparts

This commit is contained in:
Johannes Loher 2021-07-01 01:08:30 +02:00
parent 8f7f6af359
commit 1ddabc388c
3 changed files with 4 additions and 4 deletions

View file

@ -13,7 +13,7 @@ export class DS4Roll<D extends Record<string, unknown> = Record<string, unknown>
* @override
*/
async render(chatOptions: Parameters<Roll["render"]>[0] = {}): Promise<string> {
chatOptions = mergeObject(
chatOptions = foundry.utils.mergeObject(
{
user: game.user?.id,
flavor: null,