Skip to content

Commit bfcd725

Browse files
committed
Flarial Client
A utility client for minecraft Windows 10 & 11 Edition
1 parent dd35be3 commit bfcd725

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Client/Module/Modules/MovableChat/MovableChat.hpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ class MovableChat : public Module {
5858
if (settings.getSettingByName<bool>("pingsound") == nullptr) settings.addSetting("pingsound", true);
5959
if (this->settings.getSettingByName<std::string>("sound") == nullptr) settings.addSetting("sound", (std::string)"Xp Orb");
6060
}
61-
void pac() {
62-
WinrtUtils::pickAndCopyFiles(L"*", "\\assets");
63-
}
61+
6462
void settingsRender(float settingsOffset) override {
6563

6664
float x = Constraints::PercentageConstraint(0.019, "left");
@@ -82,7 +80,7 @@ class MovableChat : public Module {
8280
this->addDropdown("Sound", "Choose which sound to play", std::vector<std::string>{"Xp Orb", "Custom"}, this->settings.getSettingByName<std::string>("mode")->value);
8381

8482
this->addButton("Choose Sound", "Choose a custom sound", "Choose", [this] {
85-
pac();
83+
WinrtUtils::pickAndCopyFiles(L"*", "\\assets");
8684
});
8785
this->addToggle("@here", "Plays the sound when you are mentioned via @here", settings.getSettingByName<bool>("here")->value);
8886
}

0 commit comments

Comments
 (0)