epfly6 / RepentanceAPIIssueTracker

An unofficial issue tracker for issues with The Binding of Isaac: Repentance's API.
20 stars 1 forks source link

[REP+] GridEntity:Destroy() is broken #568

Open jerbmega opened 1 week ago

jerbmega commented 1 week ago

GridEntity:Destroy() errors with (EntityRef expected, got string)

NAT0P0TAT0 commented 1 week ago

also Room:DestroyGrid(), I got mods that had either error to work by just adding EntityRef(player) as a parameter e.g. GridEntity:Destroy(true, EntityRef(player))

I'm assuming these and the kill() function were updated so you could specify what did the killing/breaking, but if that's the case it'd be good to have a default placeholder value when the ref parameter is missing instead of breaking