isaacscript-common 1.2.129 → 1.2.130

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.
@@ -79,7 +79,8 @@ function ____exports.getPlayerIndex(self, player, differentiateForgottenAndSoul)
79
79
  if differentiateForgottenAndSoul == nil then
80
80
  differentiateForgottenAndSoul = false
81
81
  end
82
- local isSubPlayer = player:IsSubPlayer()
82
+ local character = player:GetPlayerType()
83
+ local isSubPlayer = player:IsSubPlayer() and character ~= PlayerType.PLAYER_LAZARUS2_B
83
84
  local ____isSubPlayer_0
84
85
  if isSubPlayer then
85
86
  ____isSubPlayer_0 = ____exports.getSubPlayerParent(nil, player)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "1.2.129",
3
+ "version": "1.2.130",
4
4
  "description": "Helper functions for IsaacScript mods",
5
5
  "keywords": [
6
6
  "isaac",