isaacscript-common 1.2.195 → 1.2.196

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.
@@ -889,7 +889,7 @@ end
889
889
  function ____exports.speed(self)
890
890
  local player = Isaac.GetPlayer()
891
891
  v.run.maxSpeed = not v.run.maxSpeed
892
- if v.run.maxSpeed and not player:HasCollectible(CollectibleType.COLLECTIBLE_FATE) then
892
+ if v.run.maxSpeed and not player.CanFly then
893
893
  local numEternalHearts = player:GetEternalHearts()
894
894
  if numEternalHearts == 0 then
895
895
  player:AddCollectible(CollectibleType.COLLECTIBLE_FATE)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "1.2.195",
3
+ "version": "1.2.196",
4
4
  "description": "Helper functions for IsaacScript mods",
5
5
  "keywords": [
6
6
  "isaac",
@@ -25,7 +25,7 @@
25
25
  "dist/**/*.d.ts"
26
26
  ],
27
27
  "devDependencies": {
28
- "isaac-typescript-definitions": "^1.0.375",
28
+ "isaac-typescript-definitions": "^1.0.376",
29
29
  "isaacscript-lint": "^1.0.93",
30
30
  "isaacscript-tsconfig": "^1.1.8",
31
31
  "typedoc": "^0.22.13",