From a84ad3932829181285f54901c889c91ae3da57db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Bro=C4=8Dko?= Date: Mon, 1 Oct 2018 23:58:35 +0200 Subject: [PATCH] removed debug --- src/cz/marwland/mc/core/MarwCore.java | 5 ----- src/cz/marwland/mc/core/features/Feature.java | 1 - src/cz/marwland/mc/core/util/FileUtil.java | 1 - 3 files changed, 7 deletions(-) diff --git a/src/cz/marwland/mc/core/MarwCore.java b/src/cz/marwland/mc/core/MarwCore.java index 54d5286..9418b56 100644 --- a/src/cz/marwland/mc/core/MarwCore.java +++ b/src/cz/marwland/mc/core/MarwCore.java @@ -2,10 +2,6 @@ package cz.marwland.mc.core; import java.io.File; 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.nio.file.Path; import java.util.HashMap; @@ -98,7 +94,6 @@ public class MarwCore extends JavaPlugin { continue; this.addFeature(f); - this.getLogger().log(Level.INFO, "Loaded " + f.getName() + " @ " + modClass); } configManager.load(); this.features.forEach((k, v) -> v.onEnable()); diff --git a/src/cz/marwland/mc/core/features/Feature.java b/src/cz/marwland/mc/core/features/Feature.java index ca10c11..f783cf8 100644 --- a/src/cz/marwland/mc/core/features/Feature.java +++ b/src/cz/marwland/mc/core/features/Feature.java @@ -41,7 +41,6 @@ public abstract class Feature implements Listener { public void onEnable() { if (cmap != null) { for (BukkitCommand cmd : commands) { - System.out.println("Registering: " + cmd.getName()); cmap.register(plugin.getName().toLowerCase(), cmd); } } diff --git a/src/cz/marwland/mc/core/util/FileUtil.java b/src/cz/marwland/mc/core/util/FileUtil.java index b1f0553..62d9001 100644 --- a/src/cz/marwland/mc/core/util/FileUtil.java +++ b/src/cz/marwland/mc/core/util/FileUtil.java @@ -56,7 +56,6 @@ public class FileUtil { } catch (NoSuchMethodException | SecurityException | IllegalAccessException | IllegalArgumentException | InvocationTargetException | MalformedURLException e) { e.printStackTrace(); } - System.out.println(">>> Loaded: " + mod.getAbsolutePath()); } }