From ab541bd6e6f3c6569b8f88a6faf951beb87037ba Mon Sep 17 00:00:00 2001 From: xGinko Date: Mon, 22 Jan 2024 18:52:06 +0100 Subject: [PATCH] actually fix section --- .../main/java/me/moomoo/anarchyexploitfixes/config/Config.java | 2 +- .../main/java/me/moomoo/anarchyexploitfixes/config/Config.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AnarchyExploitFixesFolia/src/main/java/me/moomoo/anarchyexploitfixes/config/Config.java b/AnarchyExploitFixesFolia/src/main/java/me/moomoo/anarchyexploitfixes/config/Config.java index bb8133a15..ef0f43de3 100755 --- a/AnarchyExploitFixesFolia/src/main/java/me/moomoo/anarchyexploitfixes/config/Config.java +++ b/AnarchyExploitFixesFolia/src/main/java/me/moomoo/anarchyexploitfixes/config/Config.java @@ -68,7 +68,7 @@ public Config() throws Exception { "Inform flying player if they are in old or new chunks."); this.elytra_play_too_fast_sound = getBoolean("elytra.elytra-speed.play-sound-when-too-fast", true, "Plays XP pickup sound to alert players when theyre going above the limit."); - String configuredSound = getString("elytra.elytra-speed.play-sound-when-too-fast.sound", Sound.ENTITY_EXPERIENCE_ORB_PICKUP.name()); + String configuredSound = getString("elytra.elytra-speed.sound", Sound.ENTITY_EXPERIENCE_ORB_PICKUP.name()); Sound parsedSound; try { parsedSound = Sound.valueOf(configuredSound); diff --git a/AnarchyExploitFixesLegacy/src/main/java/me/moomoo/anarchyexploitfixes/config/Config.java b/AnarchyExploitFixesLegacy/src/main/java/me/moomoo/anarchyexploitfixes/config/Config.java index b06760884..45cb5d049 100755 --- a/AnarchyExploitFixesLegacy/src/main/java/me/moomoo/anarchyexploitfixes/config/Config.java +++ b/AnarchyExploitFixesLegacy/src/main/java/me/moomoo/anarchyexploitfixes/config/Config.java @@ -70,7 +70,7 @@ public Config() throws Exception { "Inform flying player if they are in old or new chunks."); this.elytra_play_too_fast_sound = getBoolean("elytra.elytra-speed.play-sound-when-too-fast", true, "Plays XP pickup sound to alert players when theyre going above the limit."); - String configuredSound = getString("elytra.elytra-speed.play-sound-when-too-fast.sound", XSound.ENTITY_EXPERIENCE_ORB_PICKUP.name()); + String configuredSound = getString("elytra.elytra-speed.sound", XSound.ENTITY_EXPERIENCE_ORB_PICKUP.name()); Sound parsedSound; try { parsedSound = XSound.valueOf(configuredSound).parseSound();