@@ -17,13 +17,13 @@ public static void SendPG1ToSender(CommandSender sender) {
1717 for (int i = 1 ; i < 8 ; i ++) {
1818 int Spaces = 21 -AlphaPluginList [i -1 ].length ();
1919 List <String > spaces = new ArrayList <>();
20- for (int forInt = 0 ; i < Spaces ; i ++) {
20+ for (int forInt = 0 ; forInt < Spaces ; forInt ++) {
2121 spaces .add (" " );
2222 }
2323 sender .sendMessage (i +". " + AlphaPluginList [i -1 ] + "" + Utils .ListToString (spaces ) + "" +SecondCollumn + ". " + AlphaPluginList [SecondCollumn -1 ]);
2424 SecondCollumn ++;
2525 }
26- sender .sendMessage (" Page 1 of 12" );
26+ sender .sendMessage (" Page 1 of 12" );
2727 sender .sendMessage ("Note: You do not need to have proper" );
2828 sender .sendMessage ("capitalization when using the install command" );
2929 }
@@ -34,8 +34,8 @@ public static void SendPG2ToSender(CommandSender sender) {
3434 // List -------------------------------------------------------------
3535 int SecondCollumn = 22 ;
3636 for (int i = 15 ; i < 22 ; i ++) {
37- String Col1 = "" ;
38- String Col2 = "" ;
37+ String Col1 ;
38+ String Col2 ;
3939
4040 // Null checkers for elements in the Array
4141 try {
@@ -52,15 +52,14 @@ public static void SendPG2ToSender(CommandSender sender) {
5252
5353 int Spaces = 21 -AlphaPluginList [i -1 ].length ();
5454 List <String > spaces = new ArrayList <>();
55- for (int forInt = 0 ; i < Spaces ; i ++) {
55+ for (int forInt = 0 ; forInt < Spaces ; forInt ++) {
5656 spaces .add (" " );
5757 }
58-
5958 sender .sendMessage (i +". " + Col1 + "" + Utils .ListToString (spaces ) + "" + SecondCollumn + ". " + Col2 );
6059 SecondCollumn ++;
6160 }
6261
63- sender .sendMessage (" Page 2 of 12" );
62+ sender .sendMessage (" Page 2 of 12" );
6463 sender .sendMessage ("Note: You do not need to have proper" );
6564 sender .sendMessage ("capitalization when using the install command" );
6665 }
@@ -87,17 +86,16 @@ public static void SendPG3ToSender(CommandSender sender) {
8786 }
8887 // _________________________________________
8988
90- int Spaces = 21 -AlphaPluginList [ i - 1 ] .length ();
89+ int Spaces = 21 -Col31 .length ();
9190 List <String > spaces = new ArrayList <>();
92- for (int forInt = 0 ; i < Spaces ; i ++) {
91+ for (int forInt = 0 ; forInt < Spaces ; forInt ++) {
9392 spaces .add (" " );
9493 }
95-
9694 sender .sendMessage (i +". " + Col31 + "" + Utils .ListToString (spaces ) + "" + SecondCollumn + ". " + Col32 );
9795 SecondCollumn ++;
9896 }
9997
100- sender .sendMessage (" Page 3 of 12" );
98+ sender .sendMessage (" Page 3 of 12" );
10199 sender .sendMessage ("Note: You do not need to have proper" );
102100 sender .sendMessage ("capitalization when using the install command" );
103101 }
0 commit comments