mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-03 00:37:55 +00:00
[CLEANUP] Cleaned up Landing and using verbose now
This commit is contained in:
@@ -29,11 +29,6 @@ public final class Landing {
|
||||
private static String password;
|
||||
public static void main(String... args) throws IOException {
|
||||
parseArgs(args);
|
||||
try{
|
||||
org.parabot.environment.api.utils.WindowsPreferences.userRoot().remove("Software\\JavaSoft\\Prefs");
|
||||
}catch (Exception e){
|
||||
// Ikov likes to creates preference keys, doesn't it?
|
||||
}
|
||||
|
||||
Core.verbose("Debug mode: " + Core.inDebugMode());
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
package org.parabot.core.asm.redirect;
|
||||
|
||||
import org.parabot.core.Core;
|
||||
|
||||
import java.io.File;
|
||||
import java.net.URI;
|
||||
import java.util.ArrayList;
|
||||
@@ -85,7 +87,7 @@ public class FileRedirect extends File{
|
||||
|
||||
private static void sout(String s){
|
||||
if (!cachedFiles.contains(s)) {
|
||||
System.out.println("Requesting file: " + s);
|
||||
Core.verbose("Server requested file: " + s);
|
||||
cachedFiles.add(s);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,6 +21,12 @@ public abstract class ServerExecuter {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
try{
|
||||
org.parabot.environment.api.utils.WindowsPreferences.userRoot().remove("Software\\JavaSoft\\Prefs");
|
||||
}catch (Exception e){
|
||||
// Ikov likes to creates preference keys, doesn't it?
|
||||
}
|
||||
|
||||
Context context = Context.getInstance(provider);
|
||||
context.load();
|
||||
PaintComponent.getInstance().startPainting(context);
|
||||
|
||||
Reference in New Issue
Block a user