diff --git a/src/lishid/openinv/utils/Metrics.java b/src/lishid/openinv/utils/Metrics.java index 800bb37..cd28012 100644 --- a/src/lishid/openinv/utils/Metrics.java +++ b/src/lishid/openinv/utils/Metrics.java @@ -182,14 +182,18 @@ public class Metrics { } // First tell the server about us - postPlugin(plugin, false); + try { + postPlugin(plugin, false); + } catch (Exception e) { + System.out.println("[Metrics] " + e.getMessage()); + } // Ping the server in intervals plugin.getServer().getScheduler().scheduleAsyncRepeatingTask(plugin, new Runnable() { public void run() { try { postPlugin(plugin, true); - } catch (IOException e) { + } catch (Exception e) { System.out.println("[Metrics] " + e.getMessage()); } } diff --git a/src/plugin.yml b/src/plugin.yml index f9334fc..dbb4d76 100644 --- a/src/plugin.yml +++ b/src/plugin.yml @@ -1,6 +1,6 @@ name: OpenInv main: lishid.openinv.OpenInv -version: 1.7.4 +version: 1.7.5 author: lishid website: http://forums.bukkit.org/threads/15379/ description: > @@ -13,7 +13,7 @@ commands: / - Open last person's inventory / - Open a player's inventory searchinv: - aliases: [si, search] + aliases: [si] description: Search and list players having a specific item usage: | / [MinAmount] - Item can be the Item ID or the CraftBukkit Item Name, MinAmount is the minimum amount to be considered.