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.es.js
CHANGED
|
@@ -143,16 +143,12 @@ function BuildIconPath(iconPath, iconIndex) {
|
|
|
143
143
|
iconPath = iconPath.substring(1);
|
|
144
144
|
}
|
|
145
145
|
if (iconPath.startsWith("/Game/")) {
|
|
146
|
-
console.log(iconPath);
|
|
147
146
|
var split = iconPath.split('/');
|
|
148
147
|
var last = split[split.length - 1];
|
|
149
|
-
console.log(last);
|
|
150
148
|
var penultimate = split[split.length - 2];
|
|
151
|
-
console.log(penultimate);
|
|
152
149
|
if (last === penultimate) {
|
|
153
150
|
iconPath = iconPath.replace("/".concat(penultimate, "/"), "/");
|
|
154
151
|
}
|
|
155
|
-
console.log(iconPath);
|
|
156
152
|
}
|
|
157
153
|
iconPath = iconPath.replace("/Game/Art/UI/GameUI/Resource/GameUI_Icon/Skill_Icon_DualBlader_2", "00008758");
|
|
158
154
|
iconPath = iconPath.replace("/Game/Art/UI/GameUI/Resource/GameUI_Icon/Skill_Icon_Shooter_2", "00008758");
|