diff --git a/Resources/plugin.yml b/Resources/plugin.yml index 6da9d42c..583658a8 100644 --- a/Resources/plugin.yml +++ b/Resources/plugin.yml @@ -1,6 +1,6 @@ main: com.sekwah.advancedportals.AdvancedPortalsPlugin name: AdvancedPortals -version: 0.0.34 +version: 0.0.35 author: sekwah41 description: An advanced portals plugin for bukkit. commands: diff --git a/pom.xml b/pom.xml index 8194bd1c..1a6c3089 100644 --- a/pom.xml +++ b/pom.xml @@ -16,7 +16,7 @@ https://hub.spigotmc.org/nexus/content/repositories/snapshots/ - 0.0.34-snapshot + 0.0.35-snapshot UTF-8 1.7 diff --git a/src/com/sekwah/advancedportals/listeners/Listeners.java b/src/com/sekwah/advancedportals/listeners/Listeners.java index 6c62c9a0..47adac4e 100644 --- a/src/com/sekwah/advancedportals/listeners/Listeners.java +++ b/src/com/sekwah/advancedportals/listeners/Listeners.java @@ -223,7 +223,6 @@ public class Listeners implements Listener { // Returns the event so no more code is executed(stops unnecessary code being executed) } else if (event.getAction() == Action.RIGHT_CLICK_BLOCK) { - System.out.println(event.getHand()); Location blockloc = event.getClickedBlock().getLocation(); player.setMetadata("Pos2X", new FixedMetadataValue(plugin, blockloc.getBlockX())); player.setMetadata("Pos2Y", new FixedMetadataValue(plugin, blockloc.getBlockY())); diff --git a/src/com/sekwah/advancedportals/portals/Portal.java b/src/com/sekwah/advancedportals/portals/Portal.java index f8c7b090..b114f270 100644 --- a/src/com/sekwah/advancedportals/portals/Portal.java +++ b/src/com/sekwah/advancedportals/portals/Portal.java @@ -73,7 +73,7 @@ public class Portal { try { Integer.parseInt(BlockID); - System.out.println("Block names must be given not IDs"); + plugin.getLogger().info("Block names must be given not IDs"); } catch (NumberFormatException e) { blockType = Material.getMaterial(BlockID); }