diff --git a/Plugins/emoteBlacklist.plugin.js b/Plugins/emoteBlacklist.plugin.js index c5f3c44..a695332 100644 --- a/Plugins/emoteBlacklist.plugin.js +++ b/Plugins/emoteBlacklist.plugin.js @@ -9,7 +9,7 @@ emoteBlacklist.prototype.onSwitch = function () { emoteBlacklist.prototype.start = function () { window.ebEnabled = true; var self = this; - var em = localStorage["emoteBlacklist"]; + var em = bdPluginStorage.get("emoteBlacklist", "blacklist"); if(em == undefined) return; JSON.parse(em).forEach(function(emote) { self.remove(emote); @@ -35,7 +35,7 @@ emoteBlacklist.prototype.stop = function () { }; emoteBlacklist.prototype.clear = function() { var self = this; - var em = localStorage["emoteBlacklist"]; + var em = bdPluginStorage.get("emoteBlacklist", "blacklist"); if(em == undefined) return; var em = JSON.parse(em); em.forEach(function(emote) { @@ -43,7 +43,7 @@ emoteBlacklist.prototype.clear = function() { }); }; emoteBlacklist.prototype.getSettingsPanel = function () { - var em = localStorage["emoteBlacklist"]; + var em = bdPluginStorage.get("emoteBlacklist", "blacklist"); var html = ''; html += '