From cf8bedfad9b0abd5477e9426b3bd3a12543a95e6 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Sat, 20 Nov 2021 20:56:49 +0100 Subject: [PATCH] fix an oversight --- src/ext/lib/uwui/PlayerNotificationUI.js | 2 +- src/ext/lib/uwui/PlayerUI.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ext/lib/uwui/PlayerNotificationUI.js b/src/ext/lib/uwui/PlayerNotificationUI.js index 29eed86..61b38cd 100644 --- a/src/ext/lib/uwui/PlayerNotificationUI.js +++ b/src/ext/lib/uwui/PlayerNotificationUI.js @@ -82,7 +82,7 @@ class PlayerNotificationUi extends UI { //#region lifecycle replace(playerElement) { - super.replace(this.getUiConfig(playerElement)); + super.replace(PlayerNotificationUi.getUiConfig(playerElement)); } //#endregion diff --git a/src/ext/lib/uwui/PlayerUI.js b/src/ext/lib/uwui/PlayerUI.js index b4c3c0c..cc851a6 100644 --- a/src/ext/lib/uwui/PlayerUI.js +++ b/src/ext/lib/uwui/PlayerUI.js @@ -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); }