mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-04 08:39:23 +00:00
[BUGFIX] Resets out and err to solve issue #37
This commit is contained in:
@@ -56,6 +56,7 @@ public class PublicServerExecuter extends ServerExecuter {
|
||||
serverProviderInfo.getCRC32() + ".jar");
|
||||
final String jarUrl = Configuration.GET_SERVER_PROVIDER
|
||||
+ this.serverName;
|
||||
System.out.println(jarUrl);
|
||||
|
||||
Core.verbose("Downloading: " + jarUrl + " ...");
|
||||
|
||||
|
||||
@@ -5,6 +5,8 @@ import org.parabot.core.parsers.randoms.RandomParser;
|
||||
import org.parabot.core.ui.components.PaintComponent;
|
||||
import org.parabot.environment.servers.ServerProvider;
|
||||
|
||||
import java.io.PrintStream;
|
||||
|
||||
/**
|
||||
*
|
||||
* Executes a server provider
|
||||
@@ -21,12 +23,6 @@ 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