From 8c2e84b13ab2e260fc3dbf696c4ee129327a6ea9 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Sun, 23 May 2021 13:42:45 +0200 Subject: [PATCH] Update 0BDFDB.plugin.js --- Library/0BDFDB.plugin.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/0BDFDB.plugin.js b/Library/0BDFDB.plugin.js index 216ee0cf33..c26b79050d 100644 --- a/Library/0BDFDB.plugin.js +++ b/Library/0BDFDB.plugin.js @@ -1551,6 +1551,7 @@ module.exports = (_ => { var Tooltips = []; BDFDB.TooltipUtils = {}; BDFDB.TooltipUtils.create = function (anker, text, config = {}) { + if (!text && !config.guild) return null; let itemLayerContainer = document.querySelector(BDFDB.dotCN.appmount + " > " + BDFDB.dotCN.itemlayercontainer); if (!itemLayerContainer || !Node.prototype.isPrototypeOf(anker) || !document.contains(anker)) return null; let id = BDFDB.NumberUtils.generateId(Tooltips);