Skip to content

Commit

Permalink
Fixed listener issue for main
Browse files Browse the repository at this point in the history
  • Loading branch information
CalvinJohn99 committed Oct 18, 2024
1 parent c3a18d3 commit 76a1441
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 76a1441

Please sign in to comment.