diff --git a/com/scott_weldon/xp_to_emerald/XPtoEmerald.class b/com/scott_weldon/xp_to_emerald/XPtoEmerald.class index 447cab0..b483a34 100644 Binary files a/com/scott_weldon/xp_to_emerald/XPtoEmerald.class and b/com/scott_weldon/xp_to_emerald/XPtoEmerald.class differ diff --git a/com/scott_weldon/xp_to_emerald/XPtoEmerald.java b/com/scott_weldon/xp_to_emerald/XPtoEmerald.java index 761d6e6..b5a1d6e 100644 --- a/com/scott_weldon/xp_to_emerald/XPtoEmerald.java +++ b/com/scott_weldon/xp_to_emerald/XPtoEmerald.java @@ -255,8 +255,7 @@ public boolean setScale(CommandSender sender, int scale) { public boolean setMaterial(CommandSender sender, String material) { if (sender.hasPermission("xptoemerald.admin") || sender instanceof ConsoleCommandSender) { - Material m = Material.getMaterial(config.getString("material") - .toUpperCase()); + Material m = Material.getMaterial(material.toUpperCase()); if (m == null) { sender.sendMessage("That isn't a valid material!"); return true;