isaacscript-common 1.2.188 → 1.2.189

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.
@@ -16,7 +16,7 @@ function ____exports.restart(self, character)
16
16
  Isaac.ExecuteCommand("restart")
17
17
  return
18
18
  end
19
- if character < 0 or character >= PlayerType.NUM_PLAYER_TYPES then
19
+ if character < 0 then
20
20
  error(("Restarting as a character of " .. tostring(character)) .. " would crash the game.")
21
21
  end
22
22
  log("Restarting as character: " .. tostring(character))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "1.2.188",
3
+ "version": "1.2.189",
4
4
  "description": "Helper functions for IsaacScript mods",
5
5
  "keywords": [
6
6
  "isaac",