File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed
src/com/stupidrepo/mcscanner Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -133,25 +133,25 @@ public void windowClosing(java.awt.event.WindowEvent windowEvent) {
133133 int thisOffsetJ = offsetJ ;
134134 int thisOffsetK = offsetK ;
135135 int thisOffsetL = offsetL ;
136- for (int i = thisOffsetI ; i <= ( maxRange - thisOffsetI ) ; ++i ) {
136+ for (int i = thisOffsetI ; i <= maxRange ; ++i ) {
137137 if (stopping ) {
138138 break ;
139139 } else {
140140 offsetI = i ;
141141 }
142- for (int j = thisOffsetJ ; j <= ( 255 - thisOffsetJ ) ; ++j ) {
142+ for (int j = thisOffsetJ ; j <= 255 ; ++j ) {
143143 if (stopping ) {
144144 break ;
145145 } else {
146146 offsetJ = j ;
147147 }
148- for (int k = thisOffsetK ; k <= ( 255 - thisOffsetK ) ; ++k ) {
148+ for (int k = thisOffsetK ; k <= 255 ; ++k ) {
149149 if (stopping ) {
150150 break ;
151151 } else {
152152 offsetK = k ;
153153 }
154- for (int l = thisOffsetL ; l <= ( 255 - thisOffsetL ) ; ++l ) {
154+ for (int l = thisOffsetL ; l <= 255 ; ++l ) {
155155 String ip = "..." ;
156156 if (stopping ) {
157157 break ;
@@ -178,8 +178,11 @@ public void windowClosing(java.awt.event.WindowEvent windowEvent) {
178178 threadList .clear ();
179179 }
180180 }
181+ thisOffsetL = 0 ;
181182 }
183+ thisOffsetK = 0 ;
182184 }
185+ thisOffsetJ = 0 ;
183186 }
184187
185188 for (Thread nextThreadAgain : threadList ) {
You can’t perform that action at this time.
0 commit comments