File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
java/libraries/net/src/processing/net Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -309,8 +309,8 @@ public void run() {
309309 public void write (int data ) { // will also cover char
310310 int index = 0 ;
311311 while (index < clientCount ) {
312- clients [index ].write (data );
313312 if (clients [index ].active ()) {
313+ clients [index ].write (data );
314314 index ++;
315315 } else {
316316 removeIndex (index );
@@ -322,8 +322,8 @@ public void write(int data) { // will also cover char
322322 public void write (byte data []) {
323323 int index = 0 ;
324324 while (index < clientCount ) {
325- clients [index ].write (data );
326325 if (clients [index ].active ()) {
326+ clients [index ].write (data );
327327 index ++;
328328 } else {
329329 removeIndex (index );
@@ -335,8 +335,8 @@ public void write(byte data[]) {
335335 public void write (String data ) {
336336 int index = 0 ;
337337 while (index < clientCount ) {
338- clients [index ].write (data );
339338 if (clients [index ].active ()) {
339+ clients [index ].write (data );
340340 index ++;
341341 } else {
342342 removeIndex (index );
You can’t perform that action at this time.
0 commit comments