Skip to content

Commit

Permalink
Merge pull request #678 from UQcsse3200/team2_upgrades2
Browse files Browse the repository at this point in the history
Fixed listener issue for main
  • Loading branch information
AidenRichards03 authored Oct 20, 2024
2 parents c3a18d3 + 76a1441 commit 9908bc8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public void create() {


entity.getEvents().addListener("updateGold", this::updatePlayerGoldUI);
ServiceLocator.getDayNightService().getEvents().addListener("newday", PlayerStatsDisplay::updateDay);
ServiceLocator.getDayNightService().getEvents().addListener("newday", this::updateDay);
ServiceLocator.getDayNightService().getEvents().addListener("Second", PlayerStatsDisplay::updateTime);
}

Expand Down

0 comments on commit 9908bc8

Please sign in to comment.