diff --git a/src/Changelog.txt b/src/Changelog.txt index 5b187ef89..563c110c4 100644 --- a/src/Changelog.txt +++ b/src/Changelog.txt @@ -1,5 +1,12 @@ Changelog: #Versions without changelogs probably had very small misc fixes, like tweaks to the source code +Version 1.2.05 +Fixed my fix of not being able to place blocks near/on Anvils +Fixed resources in inventory not correctly updating after Repair + +Version 1.2.04 +Fixed bug where you could not place blocks near/on the Anvil + Version 1.2.03 skills2 and experience2 will be removed from MySQL DB automagically when this version first runs Fishing is now stored in skills and experience tables on the MySQL DB as it should have been diff --git a/src/com/gmail/nossr50/listeners/mcPlayerListener.java b/src/com/gmail/nossr50/listeners/mcPlayerListener.java index 2411d72ef..b30ab012f 100644 --- a/src/com/gmail/nossr50/listeners/mcPlayerListener.java +++ b/src/com/gmail/nossr50/listeners/mcPlayerListener.java @@ -188,10 +188,12 @@ public class mcPlayerListener extends PlayerListener } } - if(block != null && player != null && mcPermissions.getInstance().repair(player) && event.getClickedBlock().getTypeId() == 42) + if(block != null && player != null && mcPermissions.getInstance().repair(player) + && event.getClickedBlock().getTypeId() == 42 && (Repair.isTools(player.getItemInHand()) || Repair.isArmor(player.getItemInHand()))) { - event.setCancelled(true);//This is a fix for the sword repair bug Repair.repairCheck(player, is, event.getClickedBlock()); + event.setCancelled(true); + player.updateInventory(); } if(LoadProperties.enableAbilities && m.abilityBlockCheck(block)) diff --git a/src/plugin.yml b/src/plugin.yml index 23ae701ef..4b2dacb54 100644 --- a/src/plugin.yml +++ b/src/plugin.yml @@ -1,6 +1,6 @@ name: mcMMO main: com.gmail.nossr50.mcMMO -version: 1.2.03 +version: 1.2.05 softdepend: [Spout] author: nossr50 description: mcMMO takes core Minecraft game mechanics and expands them to add an extensive RPG experience, the goal of the project has always been a quality RPG experience. Everything in mcMMO is carefully thought out and is constantly improving. mcMMO adds eleven skills to train in and level in, while also offering a high level of customization for server admins. There are countless features, including custom sounds, graphical elements, and more added when running mcMMO in conjunction with Spout. I carefully read feedback and evaluate the mechanics of mcMMO in every update to provide an ever-evolving experience.