diff --git a/src/main/java/io/grayray75/mods/fpsdisplay/gui/FallbackOptionScreen.java b/src/main/java/io/grayray75/mods/fpsdisplay/gui/FallbackOptionScreen.java index abf40cd..b2ffe38 100644 --- a/src/main/java/io/grayray75/mods/fpsdisplay/gui/FallbackOptionScreen.java +++ b/src/main/java/io/grayray75/mods/fpsdisplay/gui/FallbackOptionScreen.java @@ -31,10 +31,9 @@ protected void init() { @Override public void render(DrawContext context, int mouseX, int mouseY, float delta) { - this.renderBackground(context, mouseX, mouseY, delta); + super.render(context, mouseX, mouseY, delta); context.drawCenteredTextWithShadow(this.textRenderer, this.title, this.width / 2, 20, 0xFFFFFF); context.drawCenteredTextWithShadow(this.textRenderer, Text.translatable("text.fpsdisplay.options.fallback_message"), this.width / 2, this.height / 2, 0xFFFFFF); - super.render(context, mouseX, mouseY, delta); } @Override diff --git a/src/main/resources/assets/fpsdisplay/lang/de_de.json b/src/main/resources/assets/fpsdisplay/lang/de_de.json index 1fdf374..7f2a3f6 100644 --- a/src/main/resources/assets/fpsdisplay/lang/de_de.json +++ b/src/main/resources/assets/fpsdisplay/lang/de_de.json @@ -1,6 +1,6 @@ { "text.fpsdisplay.options.fallback_title": "FPS-Display Einstellungen Hinweis", - "text.fpsdisplay.options.fallback_message": "Bitte installiere 'Cloth Config API', um auf das Optionsmenü zugreifen zu können", + "text.fpsdisplay.options.fallback_message": "Bitte installiere 'Cloth Config API' oder 'YetAnotherConfigLib', um auf das Optionsmenü zugreifen zu können", "text.fpsdisplay.options.title": "FPS-Display Einstellungen", "text.fpsdisplay.options.enabled": "Aktiv", "text.fpsdisplay.options.advancedStats": "Zeige minimale, durchschittliche und maximale FPS", diff --git a/src/main/resources/assets/fpsdisplay/lang/en_us.json b/src/main/resources/assets/fpsdisplay/lang/en_us.json index e63bb0f..0f787ce 100644 --- a/src/main/resources/assets/fpsdisplay/lang/en_us.json +++ b/src/main/resources/assets/fpsdisplay/lang/en_us.json @@ -1,6 +1,6 @@ { "text.fpsdisplay.options.fallback_title": "FPS-Display Settings Notice", - "text.fpsdisplay.options.fallback_message": "Please install 'Cloth Config API' in order to access the option menu", + "text.fpsdisplay.options.fallback_message": "Please install 'Cloth Config' or 'YetAnotherConfigLib' in order to access the option menu", "text.fpsdisplay.options.title": "FPS-Display Settings", "text.fpsdisplay.options.enabled": "Enabled", "text.fpsdisplay.options.advancedStats": "Show minimal, average and maximal FPS",