From 9648350d50e7a1c8a8641b26960c1e82c97eafd3 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien <23700969+mwittrien@users.noreply.github.com> Date: Wed, 20 Apr 2022 19:53:37 +0200 Subject: [PATCH] fixes --- Library/0BDFDB.plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/0BDFDB.plugin.js b/Library/0BDFDB.plugin.js index 33867e0166..43d8fdaf1a 100644 --- a/Library/0BDFDB.plugin.js +++ b/Library/0BDFDB.plugin.js @@ -1549,7 +1549,7 @@ module.exports = (_ => { BDFDB.ListenerUtils.removeGlobal(plugin, id); plugin.globalKeybinds[id] = BDFDB.NumberUtils.generateId(Object.entries(plugin.globalKeybinds).map(n => n[1])); BDFDB.LibraryModules.WindowUtils.inputEventRegister(plugin.globalKeybinds[id], keybind, action, {blurred: true, focused: true, keydown: false, keyup: true}); - return (_ => BDFDB.ListenerUtils.removeGlobal(plugin, id);); + return (_ => BDFDB.ListenerUtils.removeGlobal(plugin, id)); }; BDFDB.ListenerUtils.removeGlobal = function (plugin, id) { if (!BDFDB.ObjectUtils.is(plugin) || !plugin.globalKeybinds) return;