@rpg-engine/long-bow 0.2.26 → 0.2.27

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.
@@ -27850,11 +27850,12 @@ var getItemTextureKeyPath = function getItemTextureKeyPath(itemToRender, atlasJS
27850
27850
  var stackQty = (_itemToRender$stackQt = itemToRender == null ? void 0 : itemToRender.stackQty) != null ? _itemToRender$stackQt : 0;
27851
27851
  var itemTexturePath = itemToRender.texturePath;
27852
27852
 
27853
- if (itemToRender && stackQty > 1) {
27853
+ if (itemToRender && stackQty >= 1) {
27854
27854
  var idx = stackQty >= 5 ? '5' : stackQty;
27855
27855
  var textureBreakPath = itemTexturePath.split('.');
27856
27856
  var txtPrefix = textureBreakPath[0];
27857
27857
  var txtExtension = textureBreakPath[1];
27858
+ console.log(txtPrefix + "-qty-" + idx + "." + txtExtension);
27858
27859
  var newTexturePath = txtPrefix + "-qty-" + idx + "." + txtExtension;
27859
27860
  var spriteData = atlasJSON.frames[newTexturePath];
27860
27861