The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

Specialist Dance for Good Items
Lord Remiem Apr 16, 2022 @ 8:04am
Solution for red console error for modded characters
Hi,

I'm a developer of Isaac's mod "Epiphany - Tarnished characters" and I wanted to talk about something about this Specialist dance mod. Can't post images here but row 175 of this mod's main.lua throws an error, "typeAlias is null", because modded characters are not included in the playerType enum in Isaac's API.

This error can be easily prevented by modifying row 175 as follows:
local isPresent = typeAlias and Isaac.GetMusicIdByName("s_" .. typeAlias) ~= -1;
I just added a "typeAlias and" as a null check.

Thank you and thanks also for the best Isaac mod ever!