From d592c3e8c8cbf3fd6a24d0edcc23747f859b2005 Mon Sep 17 00:00:00 2001 From: BlockBuilder57 Date: Mon, 21 May 2018 21:26:39 -0500 Subject: [PATCH] Change init hook to 1ms because it works It's dumb but it works so hey! --- plugins/settingsapi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/settingsapi.js b/plugins/settingsapi.js index 0a3bf12..a653381 100644 --- a/plugins/settingsapi.js +++ b/plugins/settingsapi.js @@ -227,6 +227,6 @@ exports = { } $api.events.hook("USER_SETTINGS_MODAL_SET_SECTION",setupSettings); - $api.events.hook("USER_SETTINGS_MODAL_INIT",e=>setTimeout(_=>setupSettings(e),200)); + $api.events.hook("USER_SETTINGS_MODAL_INIT",e=>setTimeout(_=>setupSettings(e),1)); } }