fix an oversight
This commit is contained in:
parent
fb7a168d31
commit
cf8bedfad9
@ -82,7 +82,7 @@ class PlayerNotificationUi extends UI {
|
|||||||
|
|
||||||
//#region lifecycle
|
//#region lifecycle
|
||||||
replace(playerElement) {
|
replace(playerElement) {
|
||||||
super.replace(this.getUiConfig(playerElement));
|
super.replace(PlayerNotificationUi.getUiConfig(playerElement));
|
||||||
}
|
}
|
||||||
//#endregion
|
//#endregion
|
||||||
|
|
||||||
|
@ -104,7 +104,7 @@ class PlayerUi extends UI {
|
|||||||
//#region lifecycle
|
//#region lifecycle
|
||||||
replace(playerElement) {
|
replace(playerElement) {
|
||||||
try {
|
try {
|
||||||
super.replace(this.getUiConfig(playerElement));
|
super.replace(PlayerUi.getUiConfig(playerElement));
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
this.logger.log('error', 'Couldn\'t replace player element for ui. Error:', e);
|
this.logger.log('error', 'Couldn\'t replace player element for ui. Error:', e);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user