The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

[RGON] Repentance Plus!
Greed's heart trinket not functioning properly
Hello! I was playing with this mod and realized that the greed's heart trinket is not working properly. The coin heart container does appear when you pick up the trinket but it does not fill up when you pick up a coin. After some testing i realized that the problem is in the main.lua file of the mod on the line 4230 the 'Pickup.SubType == CoinSubType.COIN_STICKYNICKEL' condition is missing parenthesis wich causes it to always return as false. I also realized that because the 'player:AddCoins(-1)' function happens before the base game adds a coin to your counter picking a coin when you have 0 both fills your coin container and adds one coin (i don't actually know how to fix this). Thank you for reading! :)