mirror of
https://github.com/kaboomserver/extras.git
synced 2025-04-22 17:33:36 -04:00
Clarify comment
This commit is contained in:
parent
67eb7e10e8
commit
f287fccda2
1 changed files with 3 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue