isaacscript-common 1.2.57 → 1.2.58

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.
@@ -52,17 +52,7 @@ function queueNotEmpty(self, player, pickingUpItem)
52
52
  end
53
53
  end
54
54
  function getPickingUpItemForPlayer(self, player)
55
- local character = player:GetPlayerType()
56
- local playerIndex
57
- if character == PlayerType.PLAYER_THESOUL then
58
- local forgotten = player:GetSubPlayer()
59
- if forgotten == nil then
60
- error("Failed")
61
- end
62
- playerIndex = getPlayerIndex(nil, forgotten)
63
- else
64
- playerIndex = getPlayerIndex(nil, player)
65
- end
55
+ local playerIndex = getPlayerIndex(nil, player)
66
56
  local pickingUpItem = v.run.pickingUpItem:get(playerIndex)
67
57
  if pickingUpItem == nil then
68
58
  pickingUpItem = newPickingUpItem(nil)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "1.2.57",
3
+ "version": "1.2.58",
4
4
  "description": "Helper functions for IsaacScript mods",
5
5
  "keywords": [
6
6
  "isaac",