mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-07 16:49:10 +00:00
Reformat code
This commit is contained in:
@@ -15,7 +15,7 @@ import java.net.URL;
|
|||||||
/**
|
/**
|
||||||
* Parses scripts stored on the sdn of Parabot
|
* Parses scripts stored on the sdn of Parabot
|
||||||
*
|
*
|
||||||
* @author Everel, Paradox
|
* @author Paradox, Everel
|
||||||
*/
|
*/
|
||||||
public class SDNScripts extends ScriptParser {
|
public class SDNScripts extends ScriptParser {
|
||||||
private static AccountManager manager;
|
private static AccountManager manager;
|
||||||
@@ -30,7 +30,7 @@ public class SDNScripts extends ScriptParser {
|
|||||||
};
|
};
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void execute(){
|
public void execute() {
|
||||||
if (!manager.isLoggedIn()) {
|
if (!manager.isLoggedIn()) {
|
||||||
System.err.println("Not logged in...");
|
System.err.println("Not logged in...");
|
||||||
return;
|
return;
|
||||||
@@ -43,8 +43,7 @@ public class SDNScripts extends ScriptParser {
|
|||||||
|
|
||||||
String line;
|
String line;
|
||||||
|
|
||||||
|
while ((line = br.readLine()) != null) {
|
||||||
while ((line = br.readLine()) != null){
|
|
||||||
Object obj = parser.parse(line);
|
Object obj = parser.parse(line);
|
||||||
JSONObject jsonObject = (JSONObject) obj;
|
JSONObject jsonObject = (JSONObject) obj;
|
||||||
String jarName = String.valueOf(jsonObject.get("jarname"));
|
String jarName = String.valueOf(jsonObject.get("jarname"));
|
||||||
|
|||||||
Reference in New Issue
Block a user