mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-03 00:37:55 +00:00
null pointer check
This commit is contained in:
@@ -113,10 +113,12 @@ public class ScriptDescription implements Comparable<ScriptDescription> {
|
||||
.append(this.category).append(", version: ")
|
||||
.append(this.version).append(", description: ")
|
||||
.append(this.description).append(", servers: ");
|
||||
for (int i = 0; i < this.servers.length; i++) {
|
||||
b.append(this.servers[i]);
|
||||
if (i < (this.servers.length - 1)) {
|
||||
b.append(" ");
|
||||
if(this.servers != null) {
|
||||
for (int i = 0; i < this.servers.length; i++) {
|
||||
b.append(this.servers[i]);
|
||||
if (i < (this.servers.length - 1)) {
|
||||
b.append(" ");
|
||||
}
|
||||
}
|
||||
}
|
||||
b.append(", vip: ")
|
||||
|
||||
Reference in New Issue
Block a user