isaacscript-common 1.2.167 → 1.2.168

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 readSaveDatFile(self, mod)
16
16
  local renderFrameCount = Isaac.GetFrameCount()
17
17
  local ok, jsonStringOrErrMsg = pcall(tryLoadModData, mod)
18
18
  if not ok then
19
- log((("Failed to read from the \"save#.dat\" file on render frame " .. tostring(renderFrameCount)) .. ": ") .. jsonStringOrErrMsg)
19
+ log((("Error: Failed to read from the \"save#.dat\" file on render frame " .. tostring(renderFrameCount)) .. ": ") .. jsonStringOrErrMsg)
20
20
  return DEFAULT_MOD_DATA
21
21
  end
22
22
  if jsonStringOrErrMsg == nil then
@@ -20,7 +20,7 @@ end
20
20
  function ____exports.jsonDecode(self, jsonString)
21
21
  local ok, luaTableOrErrMsg = pcall(tryDecode, jsonString)
22
22
  if not ok then
23
- log("Failed to convert the JSON string to a Lua table: " .. jsonString)
23
+ log("Error: Failed to convert the JSON string to a Lua table: " .. jsonString)
24
24
  return {}
25
25
  end
26
26
  return luaTableOrErrMsg
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "1.2.167",
3
+ "version": "1.2.168",
4
4
  "description": "Helper functions for IsaacScript mods",
5
5
  "keywords": [
6
6
  "isaac",