File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
src/main/java/stsjorbsmod/patches Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1313
1414### Bug fixes
1515
16+ * Fixed crash in OnModifyGoldPatch with other mods which add gold before you enter a room (eg, Gold Saver)
1617* Fixed issues where Voiceover lines for elite fights would play in non-elite fights that shared certain elite enemies (eg, Colosseum event)
1718* Fixed memory tooltips not appearing when using Peek button from a card select screen (eg, Retain)
1819* Fixed Weight of Memory damage number not counting Wandering Mind cards that are in the process of being played
Original file line number Diff line number Diff line change 1212
1313public class OnModifyGoldPatch {
1414 private static void notifyModifyGold (AbstractPlayer player ) {
15- if (AbstractDungeon .getCurrRoom ().phase == AbstractRoom .RoomPhase .COMBAT ) {
15+ if (AbstractDungeon .currMapNode != null &&
16+ AbstractDungeon .getCurrRoom () != null &&
17+ AbstractDungeon .getCurrRoom ().phase == AbstractRoom .RoomPhase .COMBAT )
18+ {
1619 for (AbstractPower p : player .powers ) {
1720 if (p instanceof OnModifyGoldSubscriber ) {
1821 ((OnModifyGoldSubscriber ) p ).onModifyGold (player );
You can’t perform that action at this time.
0 commit comments