Skip to content

Commit

Permalink
Merge branch 'main' into 1.20.2
Browse files Browse the repository at this point in the history
  • Loading branch information
senseiwells committed Feb 5, 2024
2 parents f56c631 + e478efa commit 2a870ed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ dependencies {

loom {
accessWidenerPath.set(file("src/main/resources/serverreplay.accesswidener"))

runs {
getByName("server") {
runDir = "run/${project.property("minecraft_version")}"
}
}
}

tasks.remapJar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ private void onBroadcast(List<ServerPlayer> players, Packet<?> packet, CallbackI
)
)
private boolean shouldSkipBroadcasting(boolean noPlayers) {
return noPlayers && !this.replay$recorders.isEmpty();
return noPlayers && this.replay$recorders.isEmpty();
}

@Override
Expand Down

0 comments on commit 2a870ed

Please sign in to comment.