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