bnstooltips 1.6.0 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.es.js +0 -4
- package/build/index.es.js.map +1 -1
- package/build/index.js +0 -4
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -171,16 +171,12 @@ function BuildIconPath(iconPath, iconIndex) {
|
|
|
171
171
|
iconPath = iconPath.substring(1);
|
|
172
172
|
}
|
|
173
173
|
if (iconPath.startsWith("/Game/")) {
|
|
174
|
-
console.log(iconPath);
|
|
175
174
|
var split = iconPath.split('/');
|
|
176
175
|
var last = split[split.length - 1];
|
|
177
|
-
console.log(last);
|
|
178
176
|
var penultimate = split[split.length - 2];
|
|
179
|
-
console.log(penultimate);
|
|
180
177
|
if (last === penultimate) {
|
|
181
178
|
iconPath = iconPath.replace("/".concat(penultimate, "/"), "/");
|
|
182
179
|
}
|
|
183
|
-
console.log(iconPath);
|
|
184
180
|
}
|
|
185
181
|
iconPath = iconPath.replace("/Game/Art/UI/GameUI/Resource/GameUI_Icon/Skill_Icon_DualBlader_2", "00008758");
|
|
186
182
|
iconPath = iconPath.replace("/Game/Art/UI/GameUI/Resource/GameUI_Icon/Skill_Icon_Shooter_2", "00008758");
|