Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
senseiwells committed Feb 5, 2024
1 parent f18ed61 commit e478efa
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ private void onBroadcast(List<ServerPlayer> players, Packet<?> packet, CallbackI
)
)
private boolean shouldSkipBroadcasting(boolean noPlayers) {
if (!this.replay$recorders.isEmpty()) {
return false;
}
return noPlayers;
return noPlayers && this.replay$recorders.isEmpty();
}

@Override
Expand Down

0 comments on commit e478efa

Please sign in to comment.