From 7a3078aedc1bc8ed73433059ea9f83597a978759 Mon Sep 17 00:00:00 2001 From: Acrobot Date: Thu, 19 Apr 2012 16:14:12 +0200 Subject: [PATCH] Fixed Metrics' error message --- com/Acrobot/ChestShop/Metrics.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/com/Acrobot/ChestShop/Metrics.java b/com/Acrobot/ChestShop/Metrics.java index ad1e97d..b8bccac 100644 --- a/com/Acrobot/ChestShop/Metrics.java +++ b/com/Acrobot/ChestShop/Metrics.java @@ -166,10 +166,10 @@ public class Metrics { // Reload the metrics file configuration.load(CONFIG_FILE); } catch (IOException ex) { - Bukkit.getLogger().log(Level.INFO, "[Metrics] {0}", ex.getMessage()); + Bukkit.getLogger().log(Level.INFO, "[Metrics] " + ex.getMessage()); return true; } catch (InvalidConfigurationException ex) { - Bukkit.getLogger().log(Level.INFO, "[Metrics] {0}", ex.getMessage()); + Bukkit.getLogger().log(Level.INFO, "[Metrics] " + ex.getMessage()); return true; } return configuration.getBoolean("opt-out", false);