aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/core/item/tool
diff options
context:
space:
mode:
Diffstat (limited to 'src/Java/gtPlusPlus/core/item/tool')
-rw-r--r--src/Java/gtPlusPlus/core/item/tool/staballoy/StaballoyPickaxe.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Java/gtPlusPlus/core/item/tool/staballoy/StaballoyPickaxe.java b/src/Java/gtPlusPlus/core/item/tool/staballoy/StaballoyPickaxe.java
index 46e727edd1..079e3cfc39 100644
--- a/src/Java/gtPlusPlus/core/item/tool/staballoy/StaballoyPickaxe.java
+++ b/src/Java/gtPlusPlus/core/item/tool/staballoy/StaballoyPickaxe.java
@@ -179,7 +179,7 @@ public class StaballoyPickaxe extends ItemPickaxe{
//Break Tool
- if ((durNow-dodmg) <= (900) && itemdmg != 0){
+ if ((durNow-dodmg) <= (99) && itemdmg != 0){
//TODO break tool
Utils.LOG_INFO("Breaking Tool");
heldItem.stackSize = 0;
@@ -315,8 +315,9 @@ public class StaballoyPickaxe extends ItemPickaxe{
@Override
public void addInformation(ItemStack stack, EntityPlayer aPlayer, List list, boolean bool) {
thisPickaxe = stack;
- list.add(EnumChatFormatting.GOLD+"Mines a 3x3 area in the direction you are facing.");
- super.addInformation(stack, aPlayer, list, bool);
+ list.add(EnumChatFormatting.GRAY+"Mines a 3x3 at 100 durability per block mined.");
+ list.add(EnumChatFormatting.GRAY+"Durability: "+(stack.getMaxDamage()-stack.getItemDamage())+"/"+stack.getMaxDamage());
+ //super.addInformation(stack, aPlayer, list, bool);
}
@Override