Update class imports to use fully qualified Foundry paths
This commit is contained in:
parent
c26574d2d1
commit
2a797ed8ed
10 changed files with 41 additions and 23 deletions
|
@ -40,7 +40,7 @@ export function getCanvas() {
|
|||
* @returns {Game}
|
||||
*/
|
||||
export function getGame() {
|
||||
enforce(game instanceof Game, "Game is not initialized yet.");
|
||||
enforce(game instanceof foundry.Game, "Game is not initialized yet.");
|
||||
return game;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue