Skip to content

Commit 1766b6c

Browse files
committed
Remove deprecation warnings
1 parent f81c54c commit 1766b6c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/module/logic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export class Polyglot {
3737

3838
libWrapper.register(
3939
"polyglot",
40-
"ChatBubbles.prototype.say",
40+
"foundry.canvas.animation.ChatBubbles.prototype.say",
4141
async (wrapped, token, message, { cssClasses, requireVisible = false, pan = true, language = "" } = {}) => {
4242
if (game.user.isGM && !game.settings.get("polyglot", "runifyGM")) {
4343
return wrapped(token, message, { cssClasses, requireVisible, pan });

src/module/preloadTemplates.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ export async function preloadTemplates() {
1010
"modules/polyglot/templates/LanguageSettings.hbs",
1111
];
1212

13-
return loadTemplates(templatePaths);
13+
return foundry.applications.handlebars.loadTemplates(templatePaths);
1414
}

src/module/tour.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
class PolyglotTour extends Tour {
2+
class PolyglotTour extends foundry.nue.Tour {
33
async _preStep() {
44
await super._preStep();
55

0 commit comments

Comments
 (0)