is still not working aaaa
This commit is contained in:
parent
0f65f98c0a
commit
89bab82944
|
|
@ -30,7 +30,8 @@ runAfterLoad(function() {
|
|||
let elementMod = "Sandboxels (Vanilla)";
|
||||
|
||||
for (let mod of enabledMods) {
|
||||
if (modDescriptions[mod].includes(elementName)) {
|
||||
if (modDescriptions[mod].includes(`elements.${elementName} =`) ||
|
||||
modDescriptions[mod].includes(`elements["${elementName}"] =`)) {
|
||||
elementMod = mod;
|
||||
break;
|
||||
}
|
||||
|
|
@ -44,5 +45,5 @@ runAfterLoad(function() {
|
|||
element.desc = `This Element is from ${elementMod}`;
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue