From 1ca11480a1b8913ae1efc3736a3a948d393a3157 Mon Sep 17 00:00:00 2001 From: NeoNyaa <56982408+NeoNyaa@users.noreply.github.com> Date: Sat, 16 Nov 2024 07:31:52 +0000 Subject: [PATCH] added getSettingValue for float --- mods/settings.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mods/settings.md b/mods/settings.md index b0238e8..8597078 100644 --- a/mods/settings.md +++ b/mods/settings.md @@ -215,6 +215,10 @@ Float settings are just like int settings, but for floats! } ``` +```cpp +auto value = Mod::get()->getSettingValue("float-setting-example"); +``` + --- ### String (`string`)