mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-12-29 12:37:53 +01:00
remove debug
This commit is contained in:
parent
f95b659860
commit
7aebc60983
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user