isaacscript-common 3.15.0 → 3.15.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.
@@ -41,7 +41,7 @@ function ____exports.startAmbush(self)
41
41
  local coins = getCoins(nil)
42
42
  local coinsFromSack = __TS__ArrayFilter(
43
43
  coins,
44
- function(____, pickup) return GetPtrHash(pickup) == sackPtrHash end
44
+ function(____, pickup) return pickup.SpawnerEntity ~= nil and GetPtrHash(pickup.SpawnerEntity) == sackPtrHash end
45
45
  )
46
46
  removeEntities(nil, coinsFromSack)
47
47
  end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "3.15.0",
3
+ "version": "3.15.1",
4
4
  "description": "Helper functions and features for IsaacScript mods.",
5
5
  "keywords": [
6
6
  "isaac",