removed debug
This commit is contained in:
parent
aa8605c3e8
commit
a84ad39328
@ -2,10 +2,6 @@ package cz.marwland.mc.core;
|
|||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.lang.reflect.InvocationTargetException;
|
|
||||||
import java.lang.reflect.Method;
|
|
||||||
import java.net.MalformedURLException;
|
|
||||||
import java.net.URL;
|
|
||||||
import java.net.URLClassLoader;
|
import java.net.URLClassLoader;
|
||||||
import java.nio.file.Path;
|
import java.nio.file.Path;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
@ -98,7 +94,6 @@ public class MarwCore extends JavaPlugin {
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
this.addFeature(f);
|
this.addFeature(f);
|
||||||
this.getLogger().log(Level.INFO, "Loaded " + f.getName() + " @ " + modClass);
|
|
||||||
}
|
}
|
||||||
configManager.load();
|
configManager.load();
|
||||||
this.features.forEach((k, v) -> v.onEnable());
|
this.features.forEach((k, v) -> v.onEnable());
|
||||||
|
@ -41,7 +41,6 @@ public abstract class Feature implements Listener {
|
|||||||
public void onEnable() {
|
public void onEnable() {
|
||||||
if (cmap != null) {
|
if (cmap != null) {
|
||||||
for (BukkitCommand cmd : commands) {
|
for (BukkitCommand cmd : commands) {
|
||||||
System.out.println("Registering: " + cmd.getName());
|
|
||||||
cmap.register(plugin.getName().toLowerCase(), cmd);
|
cmap.register(plugin.getName().toLowerCase(), cmd);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -56,7 +56,6 @@ public class FileUtil {
|
|||||||
} catch (NoSuchMethodException | SecurityException | IllegalAccessException | IllegalArgumentException | InvocationTargetException | MalformedURLException e) {
|
} catch (NoSuchMethodException | SecurityException | IllegalAccessException | IllegalArgumentException | InvocationTargetException | MalformedURLException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
System.out.println(">>> Loaded: " + mod.getAbsolutePath());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user