Start of work on allowing custom tool/block mods. This version should

allow for XP gain from vanilla blocks with custom tools. Please report
any issues to facilitate further development.
This commit is contained in:
GJ
2012-05-04 14:04:42 -04:00
parent b5963936fd
commit 2b4ca80a95
12 changed files with 399 additions and 25 deletions

View File

@ -327,7 +327,7 @@ public class Repair {
else if (ItemChecks.isHoe(is) || ItemChecks.isSword(is) || is.getType().equals(Material.SHEARS)) {
ramt = maxDurability / 2;
}
else if (ItemChecks.isAxe(is) || ItemChecks.isMiningPick(is) || ItemChecks.isStringTool(is)) {
else if (ItemChecks.isAxe(is) || ItemChecks.isPickaxe(is) || ItemChecks.isStringTool(is)) {
ramt = maxDurability / 3;
}
else if (ItemChecks.isBoots(is)) {