From 3c5dd379e176509194ee05c5cdb487eab8e11d4d Mon Sep 17 00:00:00 2001 From: tastybento Date: Sat, 18 Apr 2015 16:18:49 -0700 Subject: [PATCH] Added metrics. --- src/multiworldmoney/MultiWorldMoney.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/multiworldmoney/MultiWorldMoney.java b/src/multiworldmoney/MultiWorldMoney.java index e3c53a7..05ffd3b 100644 --- a/src/multiworldmoney/MultiWorldMoney.java +++ b/src/multiworldmoney/MultiWorldMoney.java @@ -137,6 +137,13 @@ public void onEnable() { getCommand("pay").setExecutor(new PayCommand(this)); getCommand("balance").setExecutor(new BalanceCommand(this)); getCommand("mwm").setExecutor(new AdminCommands(this)); + + // Metrics + try { + final Metrics metrics = new Metrics(this); + metrics.start(); + } catch (final IOException localIOException) { + } }