diff --git a/src/main/java/us/tastybento/bskyblock/api/addons/exception/InvalidAddonFormatException.java b/src/main/java/us/tastybento/bskyblock/api/addons/exception/InvalidAddonFormatException.java index dfcc0b86a..761630bb1 100644 --- a/src/main/java/us/tastybento/bskyblock/api/addons/exception/InvalidAddonFormatException.java +++ b/src/main/java/us/tastybento/bskyblock/api/addons/exception/InvalidAddonFormatException.java @@ -19,8 +19,6 @@ public class InvalidAddonFormatException extends AddonException { public void printStackTrace(){ super.printStackTrace(); - System.out.println(""); - Bukkit.getLogger().log(Level.WARNING, " Basic format : (addon.yml)"); Bukkit.getLogger().log(Level.WARNING, " main: path.to.your.MainClass"); Bukkit.getLogger().log(Level.WARNING, " name: "); diff --git a/src/main/java/us/tastybento/bskyblock/api/configuration/Conversion.java b/src/main/java/us/tastybento/bskyblock/api/configuration/Conversion.java deleted file mode 100644 index b127ad032..000000000 --- a/src/main/java/us/tastybento/bskyblock/api/configuration/Conversion.java +++ /dev/null @@ -1,5 +0,0 @@ -package us.tastybento.bskyblock.api.configuration; - -public abstract class Conversion { - public abstract void convert(); -} diff --git a/src/main/java/us/tastybento/bskyblock/api/configuration/ISettings.java b/src/main/java/us/tastybento/bskyblock/api/configuration/ISettings.java index c1f2e6bc8..6f32e081f 100644 --- a/src/main/java/us/tastybento/bskyblock/api/configuration/ISettings.java +++ b/src/main/java/us/tastybento/bskyblock/api/configuration/ISettings.java @@ -4,8 +4,6 @@ import java.beans.IntrospectionException; import java.lang.reflect.InvocationTargetException; import java.sql.SQLException; -import org.bukkit.Bukkit; - import us.tastybento.bskyblock.database.BSBDatabase; import us.tastybento.bskyblock.database.flatfile.FlatFileDatabase; import us.tastybento.bskyblock.database.managers.AbstractDatabaseHandler; @@ -25,8 +23,6 @@ public interface ISettings { // Get the handler AbstractDatabaseHandler settingsHandler = (AbstractDatabaseHandler) new FlatFileDatabase().getHandler(getInstance().getClass()); // Load every field in the config class - Bukkit.getLogger().info("DEBUG: settingsHandler = " + settingsHandler); - Bukkit.getLogger().info("DEBUG: instance = " + getInstance()); settingsHandler.saveSettings(getInstance()); } diff --git a/src/main/java/us/tastybento/bskyblock/listeners/flags/FireListener.java b/src/main/java/us/tastybento/bskyblock/listeners/flags/FireListener.java index 182484208..3f8edbffa 100644 --- a/src/main/java/us/tastybento/bskyblock/listeners/flags/FireListener.java +++ b/src/main/java/us/tastybento/bskyblock/listeners/flags/FireListener.java @@ -3,7 +3,6 @@ */ package us.tastybento.bskyblock.listeners.flags; -import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.block.Block; @@ -130,23 +129,16 @@ public class FireListener extends AbstractFlagListener { public boolean onTNTDamage(EntityChangeBlockEvent e) { // Check world if (!e.getBlock().getType().equals(Material.TNT) || !inWorld(e.getBlock().getLocation())) { - Bukkit.getLogger().info("DEBUG: " + e.getBlock().getType()); return false; } - Bukkit.getLogger().info("DEBUG: in world"); // Stop TNT from being damaged if it is being caused by a visitor with a flaming arrow if (e.getEntity() instanceof Projectile) { - Bukkit.getLogger().info("DEBUG: projectile"); Projectile projectile = (Projectile) e.getEntity(); // Find out who fired it if (projectile.getShooter() instanceof Player && projectile.getFireTicks() > 0) { - Bukkit.getLogger().info("DEBUG: player fired a fire arrow"); Player shooter = (Player)projectile.getShooter(); setUser(User.getInstance(shooter)); - Bukkit.getLogger().info("DEBUG: block loc = " + e.getBlock().getLocation()); - Bukkit.getLogger().info("DEBUG: " + checkIsland(e, e.getBlock().getLocation(), Flag.BREAK_BLOCKS)); if (!setUser(User.getInstance(shooter)).checkIsland(e, e.getBlock().getLocation(), Flag.BREAK_BLOCKS)) { - Bukkit.getLogger().info("DEBUG: remove arrow"); // Remove the arrow projectile.remove(); e.setCancelled(true);