mirror of
https://github.com/darverdevs/PluginInstaller.git
synced 2024-11-22 01:06:06 -08:00
Added else statements for the checkers
This commit is contained in:
parent
8f237ff271
commit
76d4de972b
|
@ -28,12 +28,20 @@ public class PluginList {
|
||||||
for (int i = 15; i < 22; i++) {
|
for (int i = 15; i < 22; i++) {
|
||||||
String Col1 = "";
|
String Col1 = "";
|
||||||
String Col2 = "";
|
String Col2 = "";
|
||||||
|
|
||||||
|
// Null checkers for elements in the Array
|
||||||
if (AlphaPluginList[i-1] != null) {
|
if (AlphaPluginList[i-1] != null) {
|
||||||
Col1 = AlphaPluginList[i-1];
|
Col1 = AlphaPluginList[i-1];
|
||||||
|
} else {
|
||||||
|
Col1 = "N/A";
|
||||||
}
|
}
|
||||||
if (AlphaPluginList[SecondCollumn-1] != null) {
|
if (AlphaPluginList[SecondCollumn-1] != null) {
|
||||||
Col2 = AlphaPluginList[SecondCollumn-1];
|
Col2 = AlphaPluginList[SecondCollumn-1];
|
||||||
|
} else {
|
||||||
|
Col2 = "N/A";
|
||||||
}
|
}
|
||||||
|
// _________________________________________
|
||||||
|
|
||||||
sender.sendMessage(i+". "+ Col1 + "" + SecondCollumn + ". " + Col2);
|
sender.sendMessage(i+". "+ Col1 + "" + SecondCollumn + ". " + Col2);
|
||||||
SecondCollumn++;
|
SecondCollumn++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user