Clarify comment

This commit is contained in:
OptimisticDeving 2025-03-09 22:05:24 +00:00
parent 67eb7e10e8
commit f287fccda2
Signed by: opt
SSH key fingerprint: SHA256:efAXeDMyuFt1iia2xaqlrcHPlsXcjQEWNA2tmvVTqK8

View file

@ -107,8 +107,9 @@ public final class PlayerMessaging implements PluginMessageListener {
if (players == null) return;
synchronized (players) {
// we start at null so that we do not read the bytes if the
// only player in the channel is the sender of the message
// we initialize as null so that we do not read the incoming
// data and serialize the payload if the only recipient
// would be the sender, who we do not send to
byte[] msg = null;
for (final Player playerInSet : players) {