fix an oversight

This commit is contained in:
Tamius Han 2021-11-20 20:56:49 +01:00
parent fb7a168d31
commit cf8bedfad9
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ class PlayerNotificationUi extends UI {
//#region lifecycle
replace(playerElement) {
super.replace(this.getUiConfig(playerElement));
super.replace(PlayerNotificationUi.getUiConfig(playerElement));
}
//#endregion

View File

@ -104,7 +104,7 @@ class PlayerUi extends UI {
//#region lifecycle
replace(playerElement) {
try {
super.replace(this.getUiConfig(playerElement));
super.replace(PlayerUi.getUiConfig(playerElement));
} catch (e) {
this.logger.log('error', 'Couldn\'t replace player element for ui. Error:', e);
}