diff --git a/src/main/java/net/apunch/blacksmith/BlacksmithTrait.java b/src/main/java/net/apunch/blacksmith/BlacksmithTrait.java index 5b8d380..3d64072 100644 --- a/src/main/java/net/apunch/blacksmith/BlacksmithTrait.java +++ b/src/main/java/net/apunch/blacksmith/BlacksmithTrait.java @@ -97,8 +97,8 @@ public void load(DataKey key) { maxEnchantments = key.getInt("maximum-enchantments"); if (key.keyExists("extra-enchantments-chance")) extraEnchantmentChance = key.getInt("extra-enchantment-chance"); - if (key.keyExists("drop-item")) - dropItem = key.getBoolean("drop-item"); + if (key.keyExists("dropitem")) + dropItem = key.getBoolean("dropitem"); if (key.keyExists("disable-cooldown")) disablecooldown = key.getBoolean("disable-cooldown"); if (key.keyExists("disable-delay")) @@ -226,7 +226,6 @@ private ReforgeSession(Player player, NPC npc) { @Override public void run() { - player.sendMessage("dropitem:" + dropItem); player.sendMessage( reforgeItemInHand() ? successMsg : failMsg); if (npc.getEntity() instanceof Player) ((Player) npc.getEntity()).setItemInHand(null); diff --git a/target/classes/net/apunch/blacksmith/BlacksmithTrait$ReforgeSession.class b/target/classes/net/apunch/blacksmith/BlacksmithTrait$ReforgeSession.class index 085b919..9e45a54 100644 Binary files a/target/classes/net/apunch/blacksmith/BlacksmithTrait$ReforgeSession.class and b/target/classes/net/apunch/blacksmith/BlacksmithTrait$ReforgeSession.class differ diff --git a/target/classes/net/apunch/blacksmith/BlacksmithTrait.class b/target/classes/net/apunch/blacksmith/BlacksmithTrait.class index 4cc30b7..b32ef49 100644 Binary files a/target/classes/net/apunch/blacksmith/BlacksmithTrait.class and b/target/classes/net/apunch/blacksmith/BlacksmithTrait.class differ