remove debug

This commit is contained in:
Jesse Boyd 2018-05-15 15:24:43 +10:00
parent f95b659860
commit 7aebc60983
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F
4 changed files with 0 additions and 8 deletions

View File

@ -497,10 +497,8 @@ public class MainUtil {
Method method = sysclass.getDeclaredMethod("addURL", parameters);
method.setAccessible(true);
if (sysloader instanceof URLClassLoader) {
System.out.println("Sys loader");
method.invoke(sysloader, new Object[]{u});
} else {
System.out.println("Not sys loader");
ClassLoader loader = MainUtil.class.getClassLoader();
while (!(loader instanceof URLClassLoader) && loader.getParent() != null) {
loader = loader.getParent();
@ -509,7 +507,6 @@ public class MainUtil {
method.invoke(sysloader, new Object[]{u});
} else {
loader = new URLClassLoader(new URL[]{u}, MainUtil.class.getClassLoader());
System.out.println("Loaded true");
return loader;
}
}

View File

@ -113,8 +113,6 @@ public class OptionsCommands {
int min = Integer.parseInt(context.getString(0));
int max = Integer.parseInt(context.getString(1));
if (min < 0 || max > 100) throw new ParameterException("Complexity must be in the range 0-100");
System.out.println("Clean " + min + " | " + max);
if (min != 0 || max != 100) util = new CleanTextureUtil(util, min, max);
randomIndex = 2;

View File

@ -600,9 +600,7 @@ public class SchematicCommands extends MethodCommands {
color = "&6";
} else {
color = "&a";
System.out.println("Name " + name + " | " + name.lastIndexOf('.'));
if (name.indexOf('.') != -1) name = name.substring(0, name.lastIndexOf('.'));
System.out.println(" -> " + name);
}
} else if (uriStr.startsWith("http://") || uriStr.startsWith("https://")) {
// url

View File

@ -256,7 +256,6 @@ public class ParametricCallable implements CommandCallable {
} catch (UnconsumedParameterException e) {
throw new InvalidUsageException("Too many parameters! Unused parameters: " + e.getUnconsumed(), this, true);
} catch (ParameterException e) {
e.printStackTrace();
assert parameter != null;
String name = parameter.getName();