isaacscript-common 1.0.339 → 1.0.340

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.
@@ -342,14 +342,14 @@ function ____exports.setBlindfold(self, player, enabled)
342
342
  local character = player:GetPlayerType()
343
343
  local challenge = Isaac.GetChallenge()
344
344
  if enabled then
345
- game.Challenge = Challenge.CHALLENGE_NULL
345
+ game.Challenge = Challenge.CHALLENGE_SOLAR_SYSTEM
346
346
  player:ChangePlayerType(character)
347
347
  game.Challenge = challenge
348
- player:TryRemoveNullCostume(NullItemID.ID_BLINDFOLD)
349
348
  else
350
- game.Challenge = Challenge.CHALLENGE_SOLAR_SYSTEM
349
+ game.Challenge = Challenge.CHALLENGE_NULL
351
350
  player:ChangePlayerType(character)
352
351
  game.Challenge = challenge
352
+ player:TryRemoveNullCostume(NullItemID.ID_BLINDFOLD)
353
353
  end
354
354
  end
355
355
  return ____exports
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "1.0.339",
3
+ "version": "1.0.340",
4
4
  "description": "Helper functions for IsaacScript mods",
5
5
  "keywords": [
6
6
  "isaac",