Skip to content

Commit

Permalink
Disable dev scoreboard, don't auto run discord hook via build command
Browse files Browse the repository at this point in the history
  • Loading branch information
NickImpact committed Mar 26, 2024
1 parent 0d911c5 commit ae23dd7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,9 @@ jobs:
arguments: modrinth
env:
MODRINTH_GRADLE_TOKEN: ${{ secrets.MODRINTH_GRADLE_TOKEN }}
- name: Notify Discord
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
with:
arguments: discord
env:
DISCORD_RELEASE_WEBHOOK: ${{ secrets.DISCORD_RELEASE_WEBHOOK }}
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ tasks {
build {
if(this.project.isRelease()) {
dependsOn(writeChangelog)
dependsOn(publishToDiscord)
}
}

Expand Down
2 changes: 2 additions & 0 deletions changelogs/5.2.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Fixes
* Disable dev scoreboard test on Fabric, this was enabled and released by accident with 5.2.0
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,6 @@ public void construct() {
player.withDynamic(ImpactorPlatformPlayer.PLAYER_FALLBACK, () -> handler.player);

Impactor.instance().events().post((ClientConnectionEvent.Join) () -> player);

AssignedScoreboard scoreboard = DevScoreboard.SCOREBOARD.assignTo(player);
scoreboard.open();
});
}

Expand Down

0 comments on commit ae23dd7

Please sign in to comment.